Answer will be C
Because
1. Syntax tree will be produced by syntax analysis phase and it will be given to semantic analyser
2. Character stream will be taken from source code and given to lexical analyser
3. Intermediate code will be produced by semantic analyser and give to code generator
4. Token stream will be produced by lexical analyser and given to syntax analyser
Hope you got the point and you please refer dragon book I.e. compilers book by Ullman