printf statement

geekocoder (88)
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 (1950)
Do you have any ideas?
geekocoder (88)
no....i dont even know what does tokens mean in c:(
AbstractionAnon (414)
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 (88)
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 (414)
I'd parse that. Yeah, that's right.
Registered users can post here. Sign in or register to post.