The Comment lines start with /* and terminate with /. These statements can be put anywhere in the program comment lines are not executable statements therefore anything between /* and */ is ignored by the Compiler . These are used in a program to enhance its readability and understanding
So you can program the main() is such a way that it can essentially accept two arguments where the first argument denotes the number of command line arguments whereas the second argument denotes the full list of every command line arguments. This is how you can code your command line argument within the parenthesis of main():
There are two type of comment line
1) Single
Line comment //
2) multiline comment /*………………*/
Post a Comment
Please do not any spam link in the comment