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*/}

...