As you now know, the UNIX (and MS-DOS) command line arguments are available through the main function's two arguments argc and argv. The integer argc is the argument count, and the array argv is an array of character pointers, each element being a pointer to the NUL-terminated character string representing the corresponding argument.
Write a main function which prints out the number of command-line arguments presented and which then prints out each argument on a separate line.
For example, if your program is called 'foo' and the command line comprises:
./foo here there 21
the result should be: