C – Comments

Home/Learn C Programming/C – Comments
C – Comments 2017-08-05T18:04:55+00:00

Comments :

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

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

 C – COMMENT EXAMPLE PROGRAM :

Output :

Comment in C

 

Prev Next