Saturday 15 December 2018

Comments in C


Comments in C
Generally Comments are used to provide the description about the Logic written in program. Comments are not display on output screen.
When we are used the comments, then that specific part will be ignored by compiler.
In 'C' language two types of comments are possible
·         Single line comments
·         Multiple line comments
Single line comments
Single line comments can be provided by using / /....................
Multiple line comments
Multiple line comments can be provided by using /*......................*/



No comments:

Post a Comment