among the following statement is correct? Statement 1: When the analyzer scans ‘int’ and ‘intvalue’, it is not able to decide whether the int leads to a keyword or an identifier. Statement 2: Longest Match Rule
among the following statement is correct? Statement 1: When the analyzer scans ‘int’ and ‘intvalue’, it is not able to decide whether the int leads to a keyword or an identifier. Statement 2: Longest Match Rule Correct Answer Statement 1 is assertion, Statement 2 is the solution
The Longest Match rule states that the lexeme scanned should be determined on the basis of longest match among all the token available.
মোঃ আরিফুল ইসলাম
Feb 20, 2025