C – Comments

Home/C - Tutorial/C – Comments
C – Comments 2017-07-19T18:35:59+00:00

Comments :

  • Comments are added to make a program more readable to you but the compiler must ignore the comments.
  • Everything that is inside /* and */ is considered a comment and will be ignored by the compiler. You must not include comments within other comments, so something like this is not allowed: [*].

/* this is a /* comment */ inside a comment, which is wrong! */

 C – COMMENTS EXAMPLE PROGRAM :

Output :

Comments in C

 

Prev Next