Flat 20% & up to 50% off + Free additional Courses. Hurry up!

Keywords and Comments



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



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.


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 */.


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

string hello Intellipaat*/

"0 Responses on Keywords and Comments"

Training in Cities

Bangalore, Hyderabad, Chennai, Delhi, Kolkata, UK, London, Chicago, San Francisco, Dallas, Washington, New York, Orlando, Boston

100% Secure Payments. All major credit & debit cards accepted Or Pay by Paypal.


Sales Offer

  • To avail this offer, enroll before 27th October 2016.
  • This offer cannot be combined with any other offer.
  • This offer is valid on selected courses only.
  • Please use coupon codes mentioned below to avail the offer
DW offer

Sign Up or Login to view the Free Keywords and Comments.