以下程序的输出结果是( )。 #include<iostream.h> mai
题型:单项选择题
问题:
以下程序的输出结果是( )。
#include<iostream.h>
main()
int m=5;
if(m++>5)
cout<<m;
else cout<<m--;
A.7
B.6
C.5
D.4
以下程序的输出结果是( )。
#include<iostream.h>
main()
int m=5;
if(m++>5)
cout<<m;
else cout<<m--;
A.7
B.6
C.5
D.4