Friday, November 22, 2013

Add comments to a program

A comment is a note to yourself that you put into your source code. All comments are ignored by the compiler. They exist solely for your benefit. Comments are used primarily to document the meaning and purpose of your source code, so that you scan remember later how it functions and how to use it,

In C, the start of a comment is signaled by the /* character pair. a comment is ended by */ for example , this is a syntactically correct C comment: /*This is a comment*/

No comments: