printf statement

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

printf("i = %d, &i = %x", i, &i);
andywestken (1966)
Do you have any ideas?
geekocoder (98)
no....i dont even know what does tokens mean in c:(
AbstractionAnon (517)
Tokens are what the compiler picks apart when it is parsing your statement.
Make a stab at it.
meganewbie (17)
Hint =
"I'm being Quoted"
Last edited on
geekocoder (98)
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) ;
AbstractionAnon (517)
I'd parse that. Yeah, that's right.
Topic archived. No new replies allowed.