单选题
下列程序的输出结果是 ______。
#include<iostream.h>
void main()
int x=6,y=8;
if(x1++<6)
cout<<++y<<end1;
if(x>6)
cout<<--y<<end1;
else
cout<<y++<<end1;
A、
8
B、
9
C、
7
D、
编译不成功
【正确答案】
C
【答案解析】
提交答案
关闭