C comment
snippet in c

comment c

user1048

// single-line comment

/*
  multi-line
  comment
*/

how to add comment in c

user7593

A comment in C starts with
/*
This is a comment, it ends with
*/

how to add a comment in c

user6277

// This is a single-line comment

/* This is
a multi-line
comment */

C comment

user1032

/* comments in c work like this */

/*they can be one line...*/

/*
...or
multiple
lines
*/

printf("Hello World"); /* you can comment in the same line with code */

multi line comment c

user8178

/* this is how
   you comment multiple lines
   in c
   */