C - Write program to add comments to code

Requirements

Add comment to your code.

Mark author, add description to the top.

Add comment to function you used

Here is the code for you to add comments.

#include <stdio.h>
int main() 
{ 
     puts("c tutorial.");  /* Displays text */ 
     return 0; 
} 

Hint

You can use the following syntax to add comment.

/* comment */

Demo

/* Author: book2s.com
This program displays text on the screen */ 

#include <stdio.h>    /* Required for puts() */ 

int main() /*from   www .j av a2 s.c  o m*/
{ 
     puts("c tutorial.");  /* Displays text */ 
     return 0; 
}

Result