What is the number of tokens in the below C code?
int foo(int i, int j){ return printf(" I do it correctly", i > j); }
1. int 2. foo 3. ( 4. int 5. i 6. , 7. int 8. j 9. ) 10. { 11. return 12. printf 13. ( 14. " I do it correctly" 15. , 16. i 17. > 18. j 19. ) 20. ; 21. }
A lexeme is an instance of a token: http://stackoverflow.com/questions/14954721/what-is-the-difference-between-token-and-lexeme