下列程序的输出结果是 ______。 #include<iostream.h>
题型:单项选择题
问题:
下列程序的输出结果是 ______。
#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.编译不成功
下列程序的输出结果是 ______。
#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.编译不成功