Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
    int a=10;
    if(printf("%d",a>=10)-10)
         for(;;)
             break;
    else;
}
Choose all that apply: 

A It will print nothing 

B 0 

C 1 

D Compilation error: Misplaced else 

E Infinite loop 

+ Answer
+ Explanation
+ Report
Total Preview: 734

Copyright © 2024. Powered by Intellect Software Ltd