I've a question about token calculation in a C statement

The number of tokens in the C statement below.

printf("i = %d, &i = %x", i, &i);

There are 12 tokens here, I believe. But my response is incorrect. Can somebody tell me how to locate the tokens in the preceding C statement?

PS: I understand that a token is a source-program text that is not broken down into component pieces by the compiler.

Añade tu respuesta

Haz clic para o