/* ..... ..... ..... */
/* This is a comment in a C program */ /* * This is an another comment * in a C program */
// This is now allowed as comment
Demo:
/* --------------------- Comment line 1 Comment line 2 --------------------- */ int main(int argc, char * argv[] ) { // Comment line 3 }
using this command:
gcc -E comment.c
int main(int argc, char * argv[] ) { }
How to run the program: