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

A 1 2 

B x=1 y=2 

C 0 2 

D x=0 y=1 

E 0 1 

+ Answer
+ Explanation
+ Report
Total Preview: 704

Copyright © 2024. Powered by Intellect Software Ltd