Keywords
- Keywords are reserved words whose meaning is
predefined by the programming language specification(compiler).
- They convey some
special meaning in programming and we must not use them for other
purposes.
- Keywords are part of the syntax
and they cannot be used as an identifier.
- An identifier cannot have
the same spelling and case as a C keyword.
For example – float is a C keyword that defines
real numbers. You can’t use float for other purposes.
As C
is a case sensitive language, all keywords must be written in lowercase.
- Keywords are those words whose meaning is already
defined by Compiler
- Cannot be used as Variable Name
- There are 32 Keywords in C
- C Keywords are also called as Reserved words .
Following table shows the lost of
keywords(list taken from https://en.cppreference.com/w/c/keyword):
Please
comment if you find anything incorrect, or you want to improve the topic
discussed above.
No comments:
Post a Comment