Where Do We Use Keyword in C

if, else, switch, case, default – Used for decision control programming structure. break – Used with any loop OR switch case. int, float, char, double, long – These are the data types and used during variable declaration.

What is the use of keywords in C?

Keywords are predefined, reserved words in C language and each of which is associated with specific features. These words help us to use the functionality of C language. They have special meaning to the compilers.

What are the C keywords examples?

  • Volatile. This keyword is needed so as to create volatile objects. …
  • auto. This keyword is used to declare the automatic variables. …
  • char. char keyword is used to declare the character variable. …
  • double and float. …
  • const. …
  • if and else. …
  • break and continue. …
  • enum.
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest