✏️ Explanatory Question

What are the types of C tokens?

👁 1,051 Views
📘 Detailed Answer
💡

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