Programming Languages
C
Objective
Mar 09, 2013
What will be output of the 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;
}
Detailed Explanation
No Explanation
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts