Open In App

ISRO | ISRO CS 2015 | Question 25

Last Updated : 04 Apr, 2018
Like Article
Like
Save
Share
Report

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


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads