Tokens in C Programming Language

Notes:

Tokens in C Programming Language

Tokens of C Language: C KICS OS
(“Smallest Unit” of any programming language is generally called as a Token (word))
C – Comments.
K – Keywords and Data Types
I – Identifiers
C – Constants and Variables
S – Strings and Characters
O – Operators : LARA BICS
- L – Logical (&&, || ,!)
- A – Arithmetic (+, - , *, /, %)
- R – Relational (<, >, <=, >=, ==, ! =)
- A – Assignment (=)
o Arithmetic Assignment
( Short Hand Assignment) : (+=, -=, *=, /=, %=)
- B – Bitwise (&,|, ~, ^)
o Bitwise Shift ( <l<, >>)
- I – Increment and Decrement (++, -- )
- C – Conditional ( ?: )
- S – Special ( sizeof , &, *, etc)
S – Separators([] (Array dimension), ; (Semicolon), , (comma), {} (Block separator) and more)