两次运行下面的程序,如果从键盘上分别输入3和2,则输出

两次运行下面的程序,如果从键盘上分别输入3和2,则输出结果是(    )。

#include<stdio.h>
main()
{   int x;
scanf("%d",&x);
if(x++>2)printf("%d",x);
else printf("%d\n",x--);
}


答案
A

题目信息

题号:3167
题型:单选题
难度:普通