What will be output of the following c code? ( according to GCC compiler)
#include
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;
}
- 0 0
- 65536 -10
- 0 65536
- Compilation error
(a).0 0
need an explanation for this answer? contact us directly to get an explanation for this answer