int main()
{
int x = 2, y = 6, z = 6;
x = y == z;
printf("%d", x);
}
views:
145answers:
4
+3
A:
== has higher precedence than =, and y==z is 1.
I will end the answer there, because this looks like homework.
Potatoswatter
2010-08-30 08:39:56