#include <stdio.h>

//argc is the number of command-line arguments
//argv is an array of character pointers that point to the arguments
int main( int argc, char *argv[] )
{
    int ndx = 0;

    printf("The number of arguments on the command line is:  %i\n", argc);
    
    while (ndx < argc)
    {
        fprintf(stdout, "%s\n", argv[ndx]);
        ndx = ndx + 1;
    }
    return 0;
}

