Comments are used in the program just to give the information to the person who reads your code, not the compiler.
The compiler don't executes the comments, it just ignores them.
There are two types of comments depending on the number of lines you want to write.
If your comment is single line : Use "//" in the beginning of the line.
If your comment is multiple lines : Use "/*" in the beginning of the comment, and "*/" in the end of the comment.
Comments
Post a Comment