C is a programming language which is used for general purpose.About C language we have learnt in previous post C programming language and history and Overview of C. In this post you will learn about keywords in C programming that are part of syntax.
C Keywords
keywords are the words which means has been already explained to C compiler program.We cannot used keywords as variable names as a result of if we try to do then the meaning of the keyword will be changed, which is not allowed by the compiler program.the keywords are also called as 'Reserved words'.
There are only 32 keywords available in C.
Keywords cannot be used as variable names.
Keywords cannot used as constant name.
Keywords cannot used as identifier.
For example
int number;
Here int is a keyword and number is a variable
Below is the list of keywords in C
for example you can see below how union keyword is used
0 comments:
Post a Comment