printf statement

can anyone please help me to figure out the 10 tokens present in a following c statement???

printf("i = %d, &i = %x", i, &i);
Do you have any ideas?
no....i dont even know what does tokens mean in c:(
Tokens are what the compiler picks apart when it is parsing your statement.
Make a stab at it.
Hint =
"I'm being Quoted"
Last edited on
plz temme whether i have guessed the right tokens in the statement
1) printf
2) (
3) "i = %d, &i = %x"
4) ,
5) i
6) ,
7) &
8) i
9) )
10) ;
I'd parse that. Yeah, that's right.
Topic archived. No new replies allowed.