Program that counts and displays the number of words


Write a C program (on a Unix/Linux system) that counts and displays the number of words, non-white space characters, and/or lines in a text file. The name of the input file is to be provided to the program as a command line argument. In addition, the program takes option flags to determine what actions to take. The command format is as follows:
command [-clw] inputfile
w: display the number of words in inputfile. " 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Program that counts and displays the number of words
Reference No:- TGS099681

Expected delivery within 24 Hours