C Command line Argument

The arguments passed from the command line are called command line arguments. Command line arguments are passed to the main() method.

argv – Total number of arguments in the command line including program name. It counts the file name as the first argument.
argv[] – It carries all the arguments.
char – which points to the arguments passed to the program.