knowt logo

C language Keywords

Keywords

C has 32 keywords (reserved words with special meaning). Keywords are predefined words with special meanings to the compiler, and they are part of the syntax and cannot be used as identifiers in the program. The keywords in C are:

  1. auto

  2. break

  3. case

  4. char

  5. const

  6. continue

  7. default

  8. do

  9. double

  10. else

  11. enum

  12. extern

  13. float

  14. for

  15. goto

  16. if

  17. int

  18. long

  19. register

  20. return

  21. short

  22. signed

  23. sizeof

  24. static

  25. struct

  26. switch

  27. typedef

  28. union

  29. unsigned

  30. void

  31. volatile

  32. while

K

C language Keywords

Keywords

C has 32 keywords (reserved words with special meaning). Keywords are predefined words with special meanings to the compiler, and they are part of the syntax and cannot be used as identifiers in the program. The keywords in C are:

  1. auto

  2. break

  3. case

  4. char

  5. const

  6. continue

  7. default

  8. do

  9. double

  10. else

  11. enum

  12. extern

  13. float

  14. for

  15. goto

  16. if

  17. int

  18. long

  19. register

  20. return

  21. short

  22. signed

  23. sizeof

  24. static

  25. struct

  26. switch

  27. typedef

  28. union

  29. unsigned

  30. void

  31. volatile

  32. while