What is a Keyword in C ?

In C Programming language, there are many rules so to avoid different types of errors. One such rule is not able to declare variable names with auto, long, etc. This is all because these are keywords. Let us check all keywords in C language.




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:

The Keywords in C

 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      while 

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.