Keywords and Comments

 Keywords

Keywords are the reserved words which are used for specific purpose. It cannot be used as variable, constants. Keywords in C are –

auto break case char const continue default do
double else enum extern float for goto if
int long register return short signed sizeof static
struct switch typedef union unsigned void volatile while

Watch this C Programming & Data Structure by Intellipaat:

Video Thumbnail
Youtube subscribe

Comments

It is useful to place a comment in place to indicate what you are doing. It is added into the program for making the program easier to understand and these are not compiled by the compiler or interpreter. It is useful if you want someone else to be able to ever read your code.
There are two ways to use comment in C which are as follows:

  • Single Line comment
  • Multi Line comment

Single Line comment

It is used to apply the comment on a single line. To apply single line comment // is used.
e.g.

printf(“hello Intellipaat"); // It will print the string hello Intellipaat

Multi-Line comment

It is used to apply the comment on multiple lines. To apply multi line use /*comment */.
e.g.

printf(“hello Intellipaat”); /*It will print the string hello Intellipaat*/
 

Related Blogs What’s Inside
PyCharm Installation Details steps to install PyCharm for Python development environments.
Spring Boot Interview Questions Compiles frequently asked Spring Boot questions for Java interviews.
Doubly Linked List in C Describes how to create doubly linked lists in C programming.
Variable and Constant in C Explains variables and constants in C for robust code development.
JUnit Interview Questions Lists JUnit questions to prepare for Java testing interviews.
PyCharm Tutorial Provides a guide to mastering PyCharm for Python programming.
SOA Interview Questions Details key SOA interview questions for architecture-focused roles.
C Installation Explains how to set up a C programming environment across platforms.
Some Programs in C Presents example C programs to demonstrate core programming concepts.
Mockito Annotations Describes Mockito annotations for efficient Java unit testing.

Our Data Science Courses Duration and Fees

Program Name
Start Date
Fees
Cohort Starts on: 14th Jun 2025
₹85,044

About the Author

Technical Research Analyst - Full Stack Development

Kislay is a Technical Research Analyst and Full Stack Developer with expertise in crafting Mobile applications from inception to deployment. Proficient in Android development, IOS development, HTML, CSS, JavaScript, React, Angular, MySQL, and MongoDB, he’s committed to enhancing user experiences through intuitive websites and advanced mobile applications.