printf("i = %d, &i = %xx", i&i);
Number of tokens in the above C statement is 9. But I’ve made some modified please go through them.
I think the above C Statement has got an error at i&i, below is the modified C statement. Please check it out.
printf("i = %d, &i=%xx", i, &i);
Number of tokens are 10.
- printf
- (
- “i=%d, &i=%xx” // The whole phrase within the quotes is considered as single token
- ,
- i
- ,
- &
- i
- )
- ;