How we can add commnets in C?

By December 9, 2010 C

Comments in C 

Two types of comments.

1.  /*     */
2.  //

#include <stdio.h>
/* This is a comment ignored by the compiler */
int main() /* This is another comment ignored by the compiler */
{
printf(“comments “);
}
//One Line Comments

Leave a Reply

34 + = 44

Open chat
💬 Need help?