int main( int argc, char *argv[] )
argc will contain the number of command line parameters (including the
file name), argv[] contains the (C-string) parameters.
When you run your program (say foo) as:
./foo abc def ghi
then,
argc = 4
argv[0] = "foo"
argv[1] = "abc"
argv[2] = "def"
argv[3] = "ghi"