Home › C Tutorial › C comments
C comments
Notes for humans.
// comments one line, /* ... */ comments many lines.
Example code
#include <stdio.h>
int main() {
// single line
/* multi
line */
printf("Comments ignored\n");
return 0;
}Home › C Tutorial › C comments
Notes for humans.
// comments one line, /* ... */ comments many lines.
#include <stdio.h>
int main() {
// single line
/* multi
line */
printf("Comments ignored\n");
return 0;
}