若执行下面的程序时从键盘上输入5,则输出是() main( ) { int x; scanf(""%d"",&x); if(x++>5) printf(""%d/n"",x); else printf(""%d/n"",x--);}
A:7
B:6
C:5
D:4
出自:计算机科学