Keywords are simply reserved words whose semantical meanings is already known to the compiler. If they are used outside their semantical meaning, it would result in a compilation error.
There are 32 keywords in the C programming language, and each one has a predefined meaning which is known to the compiler, and as such shouldn't be used otherwise. As a C developer, you should be aware of their existence and never use them for other purposes other than their original use.
Properties of keywords in C
Keywords in C has properties that should be noted when in use. Failure to adhere to these properties may result in unexpected behaviour.
Keywords are case-sensitive. They are defined in lowercase letters and can only be used in lowercase.
Keywords has a semantic meaning known to the C compilers and their meaning cannot be overridden by the users.
Keywords cannot be used as a variable name, function and other expressions.
There 32 reserved keywords in C programming language.
The reserved words in C include;
S/N | KEYWORDS | MEANING |
---|---|---|
1 | auto | Used to define automatic storage class |
2 | break | Used to terminate loop and switch statements |
3 | case | Used to represent a case(options) in switch statement |
4 | char | Used to define a character data type |
5 | const | Used to define a constant variable |
6 | continue | Used to skip a process in loop and pass control to the beginning of the loop |
7 | default | Used to represent a default case in switch statement |
8 | do | Used to define a block in a do-while loop |
9 | double | Used to define a floating double datatype |
10 | else | Used as a fallback statement in if-else statement for a falsy condition |
11 | enum | Used to define enumerated data type |
12 | extern | Used to extend variable or function to another program files |
13 | float | Used to define a float data type |
14 | for | Used to define a for-loop statement block |
15 | goto | Used to jump statement in loop block |
16 | if | Used to define a conditional if-else statement |
17 | int | Used to define an integer variable |
18 | long | Used to modify a basic data type |
19 | register | Used to define register CPU variable |
20 | return | Used to terminate function execution and return value to the calling function |
21 | short | Used to modify a basic data type |
22 | signed | Used to modify a basic data type |
23 | sizeof | Used to ascertain the size of a variable type |
24 | static | Used to define static variable |
25 | struct | Used to define structure object |
26 | switch | Used to define switch-case statement |
27 | typydef | Used to define a temporary name for data type |
28 | union | Used to combine different data type sharing the same memory space |
29 | unsigned | Used to modify a basic data type |
30 | void | Means Nothing - pass as a parameter and return value of a function |
31 | volatile | Used to define a volatile variable object |
32 | while | Used to define a while-loop statement |
The DevOps seminar will help you to learn DevOps from scracth to deep knowledge of various DevOps tools such as fallowing List.
  Kubernetes.