Keywords

Keywords are words whose meaning have already been defined and these meaning cannot be changed. Keywords are also called as reserved words. Keywords should not be used as used variable names (though some compilers allow you to construct variable names like keywords). All the keywords must be written in lowercase.

These are 32 Keywords in C as given below:

  • auto
  • double
  • if
  • static
  • break
  • else
  • int
  • struct
  • case
  • enum
  • long
  • switch
  • char
  • extern
  • near
  • typedef
  • const
  • float
  • register
  • union
  • continue
  • far
  • return
  • unsigned
  • default
  • for
  • short
  • void
  • do
  • goto
  • signed
  • while




No comments:

Post a Comment