all arguments what ever you pass will be stored as a vector of strings to the main.
Suppose your program name is Test.exe
You write
Test.exe A B C
in command line.
So your main program gets the following parameter
argv[0] = "test.exe" argv[1] = "A"
argv[2] = "B"
argv[3] = "C"
now the value of argc (Argument Count) is the total number of elements in the
char** argv
(Argument Vector). In the above case it is
argc=4