Monday, 11 May 2015

Tokens of C language

Tokens of C language

  • C language tokens are the basic buildings blocks in C language which are constructed together to write a C program.
  • Each and every smallest individual units in a C language program are known as C language tokens.
  • C language tokens are of six types. They are,
  1. Keywords               (eg: int, while),
  2. Identifiers               (eg: main, total),
  3. Constants              (eg: 10, 20),
  4. Strings                    (eg: “total”, “hello”),
  5. Special symbols  (eg: (), {}),
  6. Operators              (eg: +, /,-,*)






0 comments:

Post a Comment