0% found this document useful (0 votes)
39 views3 pages

Keywords in C

Uploaded by

Hamid khemis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views3 pages

Keywords in C

Uploaded by

Hamid khemis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Keywords in C

Keywords, C Keywords List, Differentiate between Keywords words and identifiers

Gaurav Kr. suman 22/04/2020 MAT03


Keywords have fixed meanings, and the meaning cannot be changed. They act as a
building block of a 'C' program. There are total 32 keywords in 'C'. Keywords are
written in lowercase letters.
You can't use a keyword as an identifier in your C programs, its reserved words in C
library and used to perform an internal operation. The meaning and working of these
keywords are already known to the compiler.

A list of 32 reserved keywords in c language is given below:

auto double int struct

break else long switch

case enum register typedef

char extern return union

const float short unsigned

continue for signed void

default goto sizeof volatile

do if static while

1|Page
Identifier Keyword

User-defined word Predefined


word
Can written in lowercase and Must be written in lowercase only
uppercase

Must be meaningful in the Has fixed meaning


program

Whose meaning not explained to Whose meaning has already been explained to the C compiler
the C compiler

Combination of alphanumeric Combination of alphabetic characters


characters

Used for required purpose Used only for it intended purpose

Underscore character is Underscore character is not considered as a letter


considered as a letter

2|Page

You might also like