1
What are command line arguments in C Programming?

Open 1 Answers 49 Views Technology
What are command line arguments in C Programming?

1 Answer

0

The arguments which we pass to the main() function while executing the program are called as command line arguments. The parameters are always strings held in the second argument (below in args) of the function which is array of character pointers. First argument represents the count of arguments (below in count) and updated automatically by operating system.

main( int count, char *args[]) {

}

by (304k points)
...