Skip to content
Related Articles
Open in App
Not now

Related Articles

GATE | GATE CS Mock 2018 | Set 2 | Question 12

Improve Article
Save Article
Like Article
  • Last Updated : 08 Mar, 2018
Improve Article
Save Article
Like Article

Consider the following statements:
(I) The output of a lexical analyzer is groups of characters.
(II) Total number of tokens in printf("i=%d, &i=%x", i, &i); are 11.
(III) Symbol table can be implementation by using array and hash table but not tree.

Which of the following statement(s) is/are correct?
(A) Only (I)
(B) Only (II) and (III)
(C) All (I), (II), and (III)
(D) None of these


Answer: (D)

Explanation: (I) The output of a lexical analyzer is tokens.
(II) Total number of tokens in printf("i=%d, &i=%x", i, &i); are 10.
(III) Symbol table can be implementation by using array, hash table, tree and linked lists.

So, option (D) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!