Explanation:-
So basically we have to take an input from a filename with the extension .c/cpp/.java/.txt and many other and hit the enter after hitting enter program will return the total character in a file. In other words, we can say that this is a program for counting a total number of character in a file.
Input:
Output:

need an explanation for this answer? contact us directly to get an explanation for this answer