330 views
1 votes
1 votes

I Believe the answer should be lexical error first as “≤” is not a valid token. Next, “+” and “=” have a space between them, which should throw a syntax error.
The solution they have provided is :
 

This should be incorrect as the array in C does not perform out of bound checks. Kindly let me know if I am wrong.

Please log in or register to answer this question.

Related questions

2 votes
2 votes
0 answers
1
1 votes
1 votes
3 answers
2
Rahhul A asked Nov 10, 2023
509 views
$\text{ Find $\textbf{First(A)}$ and $\textbf{Follow(B)}$ }?$
2 votes
2 votes
0 answers
3
srestha asked May 15, 2019
1,987 views
$S\rightarrow aA|bAc|dc$$A\rightarrow d$Number of states in $CLR\left ( 1 \right )$ parser construction _______________Is$S\rightarrow d.c|$$$A\rightarrow d.,a$will be in...