Keywords in C are words that are preserved and have been described to the C compiler already. These are the pre-defined words and the meaning cannot be changed. And hence keywords cannot be used as variable names which will return an error.
In total there are 32 keywords in the C programming language.
Let us look into some of the keywords and their functions in C.
Break Break, when used inside a loop it brings the program control out of the loop or terminates the loop immediately.
Continue The continue statement in a loop ends the current iteration and forces the next iteration to take place bypassing any other statements inside.
Switch The switch keyword is used to perform a block of statements that is when you have to execute a different task for each choice.
Int Keyword int declares the datatype integer.
Char This keyword char declares a character variable.
If…else In C programming, the if and else are looping statements used in decision making.
Goto Goto is used when you have to transfer the program control to a particular label.
Return The keyword return terminates the function and returns a value.
Void Void means no value or null.