Question: Identify lexical, syntax and semantic errors from the following C program. Write line number, error message, and type of the error for each error in

Identify lexical, syntax and semantic errors from the following C program. Write line number, error message, and type of the error for each error in the program [Marks: 4]
01: float Factorial(int N) {
02: float F;
03: F==1;
04: while(i
05: F*=i;
06: return F
07: }
08: Void mane()
09: integer r;
10: r=Factorial(5);
11: IF(r>0)
12: PrintResult(r);
13: }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!