Home / Questions / What are the types of C tokens?
Explanatory Question

What are the types of C tokens?

👁 1,047 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

C 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: +, /,-,*)