in Technology by (1.9m points)
What are command line arguments in C Programming?

1 Answer

0 votes
by (1.9m points)

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[]) {

Related questions

0 votes
asked Mar 24 in Education by JackTerrance (1.9m points)
0 votes
asked Dec 8, 2021 in Education by JackTerrance (1.9m points)