Q. What will be output if you will compile and execute the following c code? #include<stdio.h>int main(){int i=10;static int x=i;if(x==i)printf("Equal");else if(x>i)printf("Greater than");elseprintf("Less than"); return 0;} (Solved)
1. equal
2. less than
3. greater than
4. compiler error
- d. compiler error