Friday, October 23, 2020

Elements of C, Tokens & Keywords:

Elements of C:

C Character Set:-The characters that are used in C programs are given below

  Alphabets :- A, B, C……Z  a, b, c...… z

  Digits :- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9


Special Characters:




Tokens: Token as the smallest individual element in C. Therefore tokens in C is the building block or the basic component for creating a program in C language.

Token is a collection of:

  1. Keywords
  2. Identifiers
  3. Constants
  4. Strings
  5. Operators

Keywords:






No comments:

Post a Comment