Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
    int a=5,b=10;
    if(++a||++b)
         printf("%d  %d",a,b);
    else
         printf("John Terry");
}
 

A 5 10 

B 6 11 

C 6 10 

D 5 11 

E John Terry 

+ Answer
+ Explanation
+ Report
Total Preview: 683

Copyright © 2024. Powered by Intellect Software Ltd