首页 > 题库 > 自考本科 > 单选题
下面程序的输出结果是(  ) #include ﹤iostream﹥ using namespace std; int main( ) { int a=1, b=-2, c=3; if(a﹤b) if(b﹤0) c=0; else c+=1; cout ﹤﹤c﹤﹤endl; return 0; }
问题1选项
A.0
B.2
C.3
D.4
参考答案: 查看答案 查看解析 下载APP畅快刷题

相关知识点试题

相关试卷