Constants & Keywords

C Constants: Whose values do not change during program execution.

  1. Primary Constants:
    Integer Constants [Example: 325, +598, -213]
    Real Constants [Example: 920.8, +725.76, -39.0, 5.32E7]
    Character Constants [Example: 'P', 'y', '3', '$']
  2. Secondary Constants:
    Array, Pointer, Structure, Union, Enum constants

C Keywords: Whose meanings are already explained to the C compiler.

  • 32 C Keywords:
    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

     

Contributor's Info

Created:
0Comment