As we know every language uses words to construct the statement, C programming language also uses words with particular meaning which are used to construct the instructions of c program. Keywords are special words with predefined meaning in C. In C programming language, keywords are specially reserved.
points in C are:-
>There are 32 keywords in C language.
> All the 32 keywords have their own meaning.
>Meaning of all 32 keywords is already known to the compiler.
>Keywords are the reserved words with predefined meaning which already known to the compiler.Whenever C compiler come across a keyword, automatically it understands its meaning.
Well known Properties of Keywords:-
- In C language, all the keywords are defined in lowercase alphabets so The keywords must be written only in lowercase letters.
- Every keyword has its particular (specific) meaning. Therefore users can neither change nor alter that meaning.
- Keywords can neither be used as user defined names, for example variable, functions, arrays, pointers etc…
- Every keyword in C programming language, represents particular or specifies any kind of action to be performed by the compiler.
The following table specifies all the 32 keywords with their meaning…
|S.number||keywords||Meaning & Uses|
|1||auto||It is used to show automatic storage class.|
|2||break||Unconditional control statement used to terminate switch & looping statement.|
|3||Char||It is used to represent character data type.|
|4||Case||It is used to represent case in switch statement.|
|5||const||It is used to define a constant.|
|6||continue||Unconditional control statement that is used to pass the control to the beginning of looping statement.|
|7||default||It is used to represent a default case in switch statement.|
|8||do||It is used to define do block in do-while statements.|
|9||double||It is used to represent double data type.|
|10||else||It is used to define false-block for if statement.|
|11||enum||It is used to define enumerated data types.|
|12||extern||It is used to represent external storage class.|
|13||float||It is used to represent floating point data type.|
|14||for||It is used to define a looping statement.|
|15||goto||It is used to represent unconditional control statement.|
|16||if||It is used to represent unconditional control statement.|
|17||ent||It is used to represent integer data type.|
|18||long||It is a type modifier that alters the basic data types.|
|19||register||It is used to represent-register storage class.|
|20||return||It is used to terminate a function execution.|
|21||short||It is used to represent unconditional control statement.|
|22||signed||It is used to represent unconditional control statement.|
|23||sizeof||An operator that provides the size of the memory of a variable.|
|24||static||It is used to create static variable-constant.|
|25||struct||It is used to create structure-user define data type.|
|26||switch||It is used to define switch-case statement.|
|27||typedef||It is used to specify temporary name for the data type.|
|28||union||It is used to create union for grouping different types under a name.|
|29||unsigned||It is used to represent unconditional control statement.|
|30||void||It is used to indicate nothing . return, value parameters of a function.|
|31||volatile||It is used to create volatile objects.|
|32||while||It is used to define a looping statement|