in Compiler Design
327 views
1 vote
1 vote

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.

in Compiler Design
327 views

1 comment

You are right @palashbehra5 they have given wrong answer . Out of bound checks are not performed in C.

1
1

Please log in or register to answer this question.

Related questions

2 votes
2 votes
0 answers
1