Computer Science, asked by gyandeepsarmah, 1 month ago

What do yo mean by comment statement in a C programe?Explain with an examples.​

Answers

Answered by ShubhashreePahi
1

Answer:

A comment statement in C program refers to a statement which doesn't show up in the output screen but is used by the user for more information.

ex-

/*I am Shubhu*/

Answered by panshulacharya123
0

Answer:

By commenting something you make it so that the programme ignores it.

Explanation:

if you add '//' before a statement in c it turns into a comment which means the programme will ignore the statement.

for eg : printf("Hello world"); //printing hello world

it prints hello world and ignores the part after 2 slashes

if you want to comment more then a line at a time you can do it like this :

/* programme for saying hello world

Made by x person

*/

printf("Hello world");

Similar questions