‘C’ Using comments in a program
-
#include <stdio.h>
-
int main()
-
{
-
// Single line comment in a C program
-
printf(“Writing comments is very useful.\n”);
-
/*
-
* Multi-line comment syntax
-
* Comments help us to understand program later easily.
-
* Will you write comments while writing programs?
-
*/
-
printf(“Good luck C programmer.\n”);
-
return 0;
-
}