这是代码的一部分
int main() { int x=5,y=10; if(x=!y) { cout<<"h"; } else { cout<<"p"; } getch(); }
输出是p,请解释,代码如何工作和意义x=!y.
p
x=!y
c++
c++ ×1