comment in c program

comment in c program


Example – 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;


For any query or issue, feel free to discuss on