Home > Electronics Tutorials > C Language Tutorial > Characters - Comments

C Language Programming Library Reference Guide

Characters - Comments

Comments in the source code are ignored by the compiler. They are encapsulated starting with /* and ending with */. According to the ANSI standard, nested comments are not allowed, although some implementations allow it.

Single line comments are becoming more common, although not defined in the ANSI standard. Single line comments begin with // and are automatically terminated at the end of the current line.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster

Discover

     more......