Loading content...
Loading content...
Keywords are reserved words in C that have predefined meanings. These words are part of the C language syntax and are recognized by the compiler.
Keywords have special meanings in C.
They are predefined by the language.
Keywords cannot be used as identifiers.
The compiler generates an error if a keyword is used as a variable, function, or structure name.
auto break case char
const continue default do
double else enum extern
float for goto if
int long register return
short signed sizeof static
struct switch typedef union
unsigned void volatile whileKeywords cannot be used as variable names, function names, or structure names.
#include <stdio.h>
int main() {
int return = 10;
printf("%d", return);
return 0;
}error: expected identifier before 'return'The word return is a reserved keyword in C, so it cannot be used as a variable name.
Keywords are reserved words in C.
They have predefined meanings.
Keywords cannot be used as identifiers.
C contains 32 standard keywords.
Keywords are used for data types, loops, conditions, storage classes, and user-defined types.
The compiler recognizes keywords automatically.