Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

2.16. Comments

Comments are written in C to enhance the readability of the program. Comments may be written to indicate the platform on which the program is written to run on, the author of the program, the purpose of the program, the purpose of a statement, or any other documentation purposes.

Comments can appear at any part of the program, even within statements. Commented portions are marked by a leading / * and a trailing */ called the comment delimiters. The compiler while generating the actual code for the source program ignores all text written within comment delimiters. Example comments might be:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint