下列程序的输出结果为( ) void main() { int x, y, z; x = y = 1; z = x++, y++, ++y; printf(“%d, %d,下列程序的输出结果为( )void main(){ int x, y, z; x = y = 1; z = x++, y++, ++y; printf(“%d, %d, %d\n”, x, y, z);}选择一个答案 a. 2, 3, 3 b. 2, 3, 2 c. 2, 3, 1 d. 2, 2, 1

问题描述:

下列程序的输出结果为( ) void main() { int x, y, z; x = y = 1; z = x++, y++, ++y; printf(“%d, %d,
下列程序的输出结果为( )
void main()
{ int x, y, z;
x = y = 1;
z = x++, y++, ++y;
printf(“%d, %d, %d\n”, x, y, z);
}
选择一个答案

a. 2, 3, 3
b. 2, 3, 2
c. 2, 3, 1
d. 2, 2, 1