Command Line Argument contains the predefine variables which takes the value from the memory and assign in the variables. These variables are called with main function by passing it as a parameter. These variables are argc and argv. Argc contain number of arguments (input values) and argv contain values.
Syntax: main (int argc, char *argv)
Benefits of command line argument are that it does not require recompiling the program every time when we run.
Enum: another way for creating symbolic constants is with the help of enum. An enumerated data type provides a way for attaching names to numbers. Enum automatically enumerates a list of words by assigning those values 0,1,2,3 and so on.
Enum height (large, medium, small);
Enum colour ( black, white);