Saturday, July 4, 2020

Chapter-2(part-1)

C Tokens:

The smallest unit of a program and compiler identifies them as a token.

Below are the types of Tokens available in C language.

  1. Keywords: These are the special words that have been reserved by the compiler and has special meaning for each word.
  2. Variables or Identifier: These are the name given by the programmer for a memory location to store a value.
  3. Constants: these are assigned to the variables.
  4. Operators: These are different types of expressions that are used in C.
  5. Strings: These are the sequence of characters.

No comments:

Post a Comment

Chapter-2(part-1)

C Tokens: The smallest unit of a program and compiler identifies them as a token. Below are the types of Tokens available in C language. Key...