If the lexical analyser finds a lexeme with the same name as that of a reserved word,it _________

If the lexical analyser finds a lexeme with the same name as that of a reserved word,it _________
A. overwrites the word
B. overwrites the functionality
C. generates an error
D. something else
 
Answer: C
Explanation: Reserved words are known as keywords and they are specific and reserved with its functionality to a language. Thus, getting an input with the same name by the analyzer will generate an error.
 

Tìm kiếm

Back
Top