What will be output of the following “c” code?


Loading

โœช Choose the correct option.

What will be output of the following “c” code?


#include

void main(){

float a=5.2;

if(a==5.2)

printf("Equal");

else if(a<5.2)

printf("Less than");

else

printf("Greater than");

}

A. Equal
B. Greater than
C. Less than
D. Compilation Error