1 (Count characters, words, and lines in a file) Write a program that will count the number of characters, words, and lines in a file. Words are separated by whitespace characters. The file name should be passed as a command-line argument, as shown in Figure 12.13.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here