What is the output of a lexical analyzer?
Sequence of tokens
This is the sequence of tokens that the next phase, the parser, will use. This is the output of the parser (syntactic analyzer), which takes the sequence of tokens as input. Therefore, the correct output of a lexical analyzer is a sequence of tokens .
Arrange the given compilation process in the correct order.
a. Linking
b. Assembling
c. Compiling
d. Pre-processing
Which of the following are applications of symbol table ?
(A) Storage allocation
(B) Checking type compatability
(C) Suppressing duplicate error messages
Choose the correct answer from the options given below:
char *str1 = "Hello; /* Statement S1 */
char *str2 = "Hello;"; /* Statement S2 */
int *str3 = "Hello"; /* Statement S3 */
Which ONE of the following statements is FALSE regarding the symbol table?