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