COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Consider the statement:P=Q+R*60. How many tokens are:
A
6
B
7
C
8
D
9
Explanation: 

Detailed explanation-1: -Tokens types are keywords, identifiers, constants, strings, operators, etc. Therefore, there are 10 tokens in total.

Detailed explanation-2: -C Tokens are of 6 types, and they are classified as: Identifiers, Keywords, Constants, Operators, Special Characters and Strings.

There is 1 question to complete.