Keywords in C Last Updated : 30 Aug, 2025 Comments Improve Suggest changes 80 Likes Like Report Keywords are predefined or reserved words that have special meanings to the compiler. These are part of the syntax and cannot be used as identifiers in the program. A list of keywords in C or reserved words in the C programming language are mentioned below:autobreakcasecharconstcontinuedefaultdodoubleelseenumexternfloatforgotoifintlongregisterreturnshortsignedsizeofstaticstructswitchtypedefunionunsignedvoidvolatilewhileWe cannot use these keywords as identifiers (such as variable names, function names, or struct names). The compiler will throw an error if we try to do so.Example: C #include <stdio.h> int main() { int return = 10; printf("%d\n", return); return 0; } Output./Solution.c: In function 'main':./Solution.c:4:9: error: expected identifier or '(' before 'return' int return = 10; ^./Solution.c:5:20: error: expected expression before 'return' printf("%d\n", return); ^Let's categorize all keywords based on context for a more clear understanding.CategoryKeywords Data Type Keywords char, int, float, double, void, short, long, signed, unsignedOperator & Utility Keywordssizeof, return, goto, typedefControl Flow Keywordsif, else, switch, case, default, for, while, do, break, continueStorage Class Keywordsauto, register, static, externType Qualifiersconst, volatileUser Defined Typesstruct, union, enumDifference Between Keywords and IdentifiersKeywordsIdentifiersReserved Words in C that have a specific meaning and use in the syntaxNames given to variables, functions, structs, etc.Cannot be used as variable names.Can be used as variable names (if not a keyword).Examples: int, return, if, whileExamples: x, total, countPart of the C language grammar.User-defined, meaningful names in the code.Cannot be redefined or repurposed.Can be defined redefined and reused as needed. Comment K kamleshjoshi18 Follow 80 Improve K kamleshjoshi18 Follow 80 Improve Article Tags : C Language Explore C BasicsC Language Introduction6 min readIdentifiers in C3 min readKeywords in C2 min readVariables in C4 min readData Types in C3 min readOperators in C8 min readDecision Making in C (if , if..else, Nested if, if-else-if )7 min readLoops in C6 min readFunctions in C5 min readArrays & StringsArrays in C4 min readStrings in C5 min readPointers and StructuresPointers in C7 min readFunction Pointer in C6 min readUnions in C3 min readEnumeration (or enum) in C5 min readStructure Member Alignment, Padding and Data Packing8 min readMemory ManagementMemory Layout of C Programs5 min readDynamic Memory Allocation in C7 min readWhat is Memory Leak? How can we avoid?2 min readFile & Error HandlingFile Handling in C11 min readRead/Write Structure From/to a File in C3 min readError Handling in C8 min readUsing goto for Exception Handling in C4 min readError Handling During File Operations in C5 min readAdvanced ConceptsVariadic Functions in C5 min readSignals in C language5 min readSocket Programming in C8 min read_Generics Keyword in C3 min readMultithreading in C9 min read Like