The argument passed to the main() function while executing the program is known as command line argument. For example:
main(int count, char *args[]){
//code to be executed
}
Riya Answered question July 4, 2023
Command-line arguments are simple parameters that are given on the system’s command line, and the values of these arguments are passed on to your program during program execution. When a program starts execution without user interaction, command-line arguments are used to pass values or files to it.
BrindhaPrathaban Answered question July 1, 2023
