#include<iostream>
using std::cin;
using std::cout;
using std::endl;
int main()
{
int x;
int y;
int z;
x=y=z=-1;
x++&&--y&&z--||--x;
cout<<x<<y<<z;
return 0;
}
大家帮我看看结果,我想不明白...
...全文
48026打赏收藏
一个初学者的迷茫
#include using std::cin; using std::cout; using std::endl; int main() { int x; int y; int z; x=y=z=-1; x++&&--y&&z--||--x; cout<<x<<y<<z; return 0; } 大家帮我看看结果,我想不明白...
[Quote=引用楼主 hiqrf 的帖子:]
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main()
{
int x;
int y;
int z;
x=y=z=-1;
x++&&--y&&z-- ¦ ¦--x;
cout < <x < <y < <z;
return 0;
}