You are on page 1of 1

preprocessor:#include<iostream>

keyword:int
identifier:main
separator:(
separator:)
separator:{

keyword:int
identifier:i
operator:=
negative integer:-5
separator:;

keyword:float
identifier:f
operator:=
negative float:-55.0
separator:;

single line comment://single line comment

multi-line comments:/*multi
line
comment
*/

identifier:cout
redirector operator:<<
identifier:i
redirector operator:<<
identifier:endl
separator:;

special character:$
identifier:start
operator:=
identifier:newstart
separator:;

identifier:return
posetive integer:0
separator:;

separator:}
Total tokens:33

You might also like