Open In App

ISRO | ISRO CS 2015 | Question 25

The number of tokens in the following C statement is printf(\”i=%d, &i=%x\”, i,&i);

(A)



13

(B)



6

(C)

10

(D)

9


Answer: (C)
Explanation:

printf ( \"i=%d, &i=%x\" , i , & i ) ;
  1    2      3        4 5 6 7 8 9 10

Total ten tokens are present. So, correct option is (C)

Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :