Question: How many lexical errors (if any) appear in the following C program? How should each error be handled by the scanner? main(){ if(1 <2.) a=1.0
How many lexical errors (if any) appear in the following C program? How should each error be handled by the scanner?
main(){
if(1<2.)
a=1.0
else a=1.0e-n;
subr(aa,"aaaaaaaaaaaa"); /* Thats all
}
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
