Kotlin - Evolua seu código Java (TDC-2016) Alex Magalhaes
Token03
1. C Tokens
Smallest individual units like individual
words and punctuation marks are called
tokens. They are 6 types.
1.Keywords
2.Constants
3.Identifiers
4.Strings
5.Characters
6.Special symbols
2. •
•
Keywords
cannot be used as variable name or function name
written in lowercase
S.No
Primitive
data types
User
Defined data
types
Constants
Statements
Memory
types
Operator
1
char
enum
const
break
auto
size of
2
double
union
type def
case
extern
3
long
struct
continue
register
4
short
default
static
5
signed
do
volatile
6
unsigned
else
7
void
for
8
float
goto
9
int
if
10
return
11
switch
12
while