retagged by
1,012 views
0 votes
0 votes

Type of ERROR

retagged by

2 Answers

1 votes
1 votes
At line 4: y=x+10; –

It will give a semantic error due to usage of undeclared variable.

 

At line 5: printf("%d", %d", &x, &y); –

It will give lexical error due to unclosed quotation.

Related questions

0 votes
0 votes
1 answer
2
Ebrahim asked Jan 12
172 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
275 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
284 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 ...