xxxxxxxxxx
#include stdio.h
int main(){
printf("Only this code will be printed.");
//This is a single line comment.
/*
this is a multiple line
comment
*/
}
xxxxxxxxxx
/* 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 */