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
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
Get step-by-step solutions from verified subject matter experts
