简单的显示,不知程序错在什么地方
//dec c++ 6.7.5#include<stdio.h>
void main()
{
int x,y,z;
x=y=1;
z=x++,++y,y++;
printf("\n %d ,%d, %d\n\n",x,y,z);
int i,j;
i=8,j=10;
printf(" %d, %d, %d, %d\n",i,j,++i,j++);//输出
i=8,j=10;
printf(" %d, %d, ",i,j);//输出
printf(" %d, %d\n",++i,j++);
}
程序运行结果
2 ,3, 1
9, 11, 9, 10
8, 10, 9, 10
--------------------------------
Process exited after 0.2164 seconds with return value 8
请按任意键继续. . .
9 11 对吗,什么原因造成的









