Posted on Leave a comment

‘C’ Using comments in a program

‘C’ Using comments in a program

  1. #include <stdio.h>
  2. int main()
  3. {
  4.    // Single line comment in a C program
  5.    printf(“Writing comments is very useful.\n”);
  6.    /*
  7.     * Multi-line comment syntax
  8.     * Comments help us to understand program later easily.
  9.     * Will you write comments while writing programs?
  10.     */
  11.    printf(“Good luck C programmer.\n”);
  12.    return 0;
  13. }
Leave a Reply

Your email address will not be published. Required fields are marked *