argv is a array of pointers to strings. The strings are tokens from the command line. Element 0 is the command, element 1 the first command line argument, etc. The argv array is terminated by a null pointer. argc gives the number of elements in argv (i.e., the index of the null pointer).