0 votes
in C Plus Plus by

What are command line arguments?

1 Answer

0 votes
by

Arguments that are passed to the main() function of the program in the command-line shell of the operating system are known as command-line arguments.

Syntax:

int main(int argc, char *argv[]){/*code which is to be executed*/}

Related questions

0 votes
asked Jan 11 in C Plus Plus by GeorgeBell
0 votes
asked Jan 4 in C Plus Plus by GeorgeBell
...