C Comments


Comments are simple text in your C program that increases readability of programs. Compiler ignore anything written as comment in your program.

//This is a comment      Single line Comment

/*This is a comment*/    Single line Comment

/*This is a long 
and valid comment*/      Multi line Comment

//this is not
  a valid comment        Wrong Syntax

Share this article on