Q. What will be output if you will compile and execute the following c code? #include<stdio.h> int main(){float a=5.2;if(a==5.2)printf("Equal");else if(a<5.2)printf("Less than");elseprintf("Greater than"); return 0;} (Solved)

1. equal

2. less than

3. greater than

4. compiler error

  • b. less than
Subscribe Now

Get All Updates & News