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:
|
6
|
|
7
|
|
8
|
|
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.