write a program that will read a file and count how many characters, spaces, tabs and newlines are present in it.
Answers
Answered by
0
Answer:
Count Number of Spaces, Newlines, Tabs C Program
if(ch == ' ') This will check the occurrence of Spaces within the Text file. if(ch == '\n') This condition will will check the Number of Newlines. if(ch == '\t') This condition will check the Number of Tabs.
Similar questions
Hindi,
1 month ago
Math,
1 month ago
India Languages,
1 month ago
Social Sciences,
2 months ago
English,
9 months ago
English,
9 months ago