hi guys im trying to write a program that implements a utility for counting no.of characters,word s and lines in specified file
A sample execution of such utility is shown below.

The utility should accept the file name as a command line parameter.

Optionally, it can accept the command line options to determine what entities must be displayed.

-c : for displaying the number of characters in the file...