C Keywords
Hi,
Every programming language as certain predefined words around which whole programming revolves. The meaning and definition of these words are already defined inside the compiler, so variables with same name cannot be created in the program.
In C, there are 32 keywords. The detailed discussions on their meaning and usage will be mentioned as and when they are used in coarse of programming.
Here is the list of all the keywords of C in alphabetical order.
Every programming language as certain predefined words around which whole programming revolves. The meaning and definition of these words are already defined inside the compiler, so variables with same name cannot be created in the program.
In C, there are 32 keywords. The detailed discussions on their meaning and usage will be mentioned as and when they are used in coarse of programming.
Here is the list of all the keywords of C in alphabetical order.
- 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
Note: Some compiler vendors like Microsoft, Borland etc, in addition to above keywords have their own additional keywords also. By convention these vendor specific keywords needs to have their names preceded by 2 underscores (eg. __keyword ). Not every vendor follows this rule.
Next post will be regarding "Constants and Variables in C".
Till then
Happy Learning!!!
Prateek
Till then
Happy Learning!!!
Prateek
Comments
Post a Comment