Question: (10 pts) Write the function entab to read in a file with groups of spaces in it to have the appropriate number of tabs
(10 pts) Write the function entab to read in a file with groups of spaces in it to have the appropriate number of tabs and spaces instead, given the tab interval n. For example, if the function encountered 74 spaces in a row, and had a tab interval of 10, it would write those spaces out as 7 tabs and 4 spaces. Assume that in main, the program has already open the input and output files. #include void entab(FILE* fin. FILE* fout, size_t n) {
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
