Question:What will be output when you will execute following c code?
#include<stdio.h>
int main(){
    signed x;
    unsigned y;
    x = 10 +- 10u + 10u +- 10;
    y = x;
    if(x==y)
         printf("%d %d",x,y);
    else if(x!=y)
         printf("%u  %u",x,y);
    return 0;
}
Choose all that apply: 

A 0 0 

B 65536 -10 

C 0 65536 

D 65536 0 

E Compilation error 

+ Answer
+ Explanation
+ Report
Total Preview: 993

Copyright © 2024. Powered by Intellect Software Ltd