[填空题] 以下程序运行后输出的结果是______。
main()
int x=1,y=0,a=0,b=0;
switch (x)
case 1:switch (y)
case 0:a++;break;
case 1:b++;break;
case 2:a--;b--;break;
printf("%d %d",a,b);
正确答案:0 -1
欢迎分享,转载请注明来源:内存溢出
[填空题] 以下程序运行后输出的结果是______。
main()
int x=1,y=0,a=0,b=0;
switch (x)
case 1:switch (y)
case 0:a++;break;
case 1:b++;break;
case 2:a--;b--;break;
printf("%d %d",a,b);
正确答案:0 -1
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)