A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. How many tokens will be generated by the scanner for the following statement?
x = x * (a+b) - 5;
a. 12
b. 11
c. 10
d. 7
Answer:11
mayuri :(November 04, 2017) nice
Click to Add Comment

Aastha kudarha :(January 22, 2018) 9
Click to Add Comment

Biswajit :(June 29, 2018) x|1 =|2 x|3 ∗|4 (|5a|6 +|7 b|8)|9 –|10 5|11;|12
Total 12 tokens are there.
Click to Add Comment

Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: