C++ 显示以下代码的输出

include
using namespace std;

int main()
{
int x1, x2, i, j, k, y, z;
float f;
x1 = 1;
x2 = 1;
y = 5 + x1--;
z = 5 + ++x2;
i = 6 % 4;
j = 1;
j += j + 3;
k = 25 / 2;
f = (float)((2 / 5) * k);

cout << "x1 is " << x1 << endl;
cout << "x2 is " << x2 << endl;
cout << "i is " << i << endl;
cout << "j is " << j << endl;
cout << "k is " << k << endl;
cout << "y is " << y << endl;
cout << "z is " << z << endl;
cout << "f is " << f;

return 0;
}

img

有什麽问题???

您好,我是有问必答小助手,您的问题已经有小伙伴帮您解答,感谢您对有问必答的支持与关注!
PS:问答VIP年卡 【限时加赠:IT技术图书免费领】,了解详情>>> https://vip.csdn.net/askvip?utm_source=1146287632