Question: 2nd qn pls Q1 MC - Compiler stages 2 Points Which stage of a compiler takes as input a stream of tokens, and generates a

2nd qn pls 2nd qn pls Q1 MC - Compiler stages 2 Points Which stage

Q1 MC - Compiler stages 2 Points Which stage of a compiler takes as input a stream of tokens, and generates a parse tree or abstract syntax tree? Code generator Code improvement stage Parser Scanner Semantic analysis stage Symbol table None of the above Q2 MC-C language RE 2 Points Given the following Lex/Flex-style definitions of character classes: sp(aguvL} ws [ |tivinie] what type of token does the RE shown below generate in the C programming language? ({SP)P(1VIn](ES))(ws)) C-style comment C++-style comment C-string literal constant Decimal integer constant Hexadecimal integer constant Decimal float constant Hexadecimal float constant None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!