380 views

2 Answers

1 votes
1 votes
I think since c is case sensitive Main and Else will give lexical error.

Hence 2 lexical error.
0 votes
0 votes
6 lexical errors 4 { brackets one misplaced semicolon and 1 missing first bracket.

Related questions

0 votes
0 votes
1 answer
2
Ebrahim asked Jan 12
197 views
Q1. For the following grammar N - AB | BA A - a | CAC B - b | CBC C - a | b Find the FIRST and FOLLOW
0 votes
0 votes
1 answer
3
Ebrahim asked Dec 18, 2023
293 views
Like Example Above please answer this questionQ5. Implement a+b*(c+d)-e/finto: a). Quadruples.b). Triples.c). Indirect triples.
0 votes
0 votes
1 answer
4
Ebrahim asked Dec 18, 2023
302 views
Please Answer this question 4. Discuss design issues in code generation. Generate target code for the following basic block. t1 : = a + b t2 : = c ...