Where Do We Use Keyword in C
If, Else, Switch, Case, Default – Used for Decision Control Programming Structure. Break – Used with Any Loop or Switch Case. Int, Float, Char, Double, Long –...
if, else, switch, case, default – Used for decision control programming structure. break – Used with any loop OR switch case. int, float, char, double, long – These are the data types and used during variable declaration.
What is the use of keywords in C?
Keywords are predefined, reserved words in C language and each of which is associated with specific features. These words help us to use the functionality of C language. They have special meaning to the compilers.
What are the C keywords examples?
- Volatile. This keyword is needed so as to create volatile objects. …
- auto. This keyword is used to declare the automatic variables. …
- char. char keyword is used to declare the character variable. …
- double and float. …
- const. …
- if and else. …
- break and continue. …
- enum.