Question discussion

How many tokens does the C statement printf("%d", a+b); contain?

1726Medium DSSSB TGT Computer Science 0 replies 1 views
0

How many tokens does the C statement printf("%d", a+b); contain?

  • A7
  • B8
  • C10
  • D9
Correct answer: D

Explanation

The tokens are printf, (, "%d", the comma, a, +, b, ) and the semicolon, i.e. 9 tokens.

Discussion 0

Nobody has replied yet. Start the discussion!