TutorialStudyMite
Comments in C Language
Sstudymite1 min read
Beginner friendly
Track completion, mastery, and revision.
Comments in C
You can use comments in C programming language and these comments can be used to include additional information about the program.
Comments are important in large projects which consists of thousands of lines of code.
Syntax :
// comment goes here
Or
/* comment goes here */
Or
/*
* Comment goes here
*/
Example :
Using single line comment:
/* Author: StudyMite.com */
Or
// Author: StudyMite.com
Using multi line comment:
/*
* Author: StudyMite.com
* Tutorial: Learn C
*/
Finished reading?