#include<stdio.h>
main()
{
int x = 5, y = 10, z = 10;
x = y == z; // This computational expression causes the value of x to be 1. I fail to understand why
printf("%d\n", x); //Why is the value of x 1 here.
}
我无法理解声明x = y ==z;
据我说 - x = 10 因为 y == z。z=10 并且被声明为等价于 y。然后将 y 的值分配给 x -x = y