C - Control Statements - Discussion

You Are Here :: Home > C > Control Statements - Discussion

 



Q.

#include

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

Answer: Option C
Explaination:

 


No Explanation



Discussion

Your Comments Goes here...
NameDiscussion