C tokens

C Token (Definition):
The smallest individual unit of a program is known as a token.

C has the following tokens:

Note: If a student had written any 3 of the following then the answer is correct.
  1. Keywords:
  2. C reserves a set of 32 words for its own use. These words are called keywords (or reserved words), and each of these keywords has a special meaning within the C language.


  3. Identifiers:
  4. Identifiers are names that are given to various user-defined program elements, such as variables, functions, and arrays.


  5. Constants:
  6. Constants refer to fixed values that do not change during the execution of the program.


  7. Strings:
  8. A string is a sequence of characters terminated with a null character \0.


  9. Special Symbols:
  10. Symbols such as #, &, =, * are used in C for some specific function are called special symbols.


  11. Operators:
  12. An operator is a symbol that tells the compiler to perform a certain mathematical or logical operation.


Drafted on 🌏 by,

Jal


peace

Comments

Popular posts from this blog

C program to read and display book information using structure

Count positive, negative and zero values in an array

Maximum value from array