The C program execution starts with main, but behind-the-scenes a special start-up routine is called by the kernel before calling the main function. The start-up routine involves the use of arguments known as command line arguments. The typical main function looks like: int main(int argc, char* argv[]) . Here argc contains the count of command-line arguments passed by the programmer. argv is a character array type that deals with the array of pointers that point to the argument values.