c comment out comments code example
Example 1: C comment
/* 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 */
Example 2: how to add a comment in c
// This is a single-line comment
/* This is
a multi-line
comment */