GATE | GATE-CS-2000 | Question 18

The number of tokens in the following C statement.

filter_none

edit
close

play_arrow

link
brightness_4
code

printf("i = %d, &i = %x", i, &i);

chevron_right


is
(A) 3
(B) 26
(C) 10
(D) 21


Answer: (C)

Explanation: See question 4 of https://www.geeksforgeeks.org/c-language-set-1/

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.