![](https://lstatic.shangxueba.com/jiandati/h5/images/m_q_title.png)
[单选题]
有以下程序: main() { int i=1,j=1,k=2; if((j++||k++)&&i++) printf("%d,%d,%d\n",i,j,k); } 执行后输出结果是()。
A.1,1,2
B.2,2,1
C.2,2,2
D.2,2,3
提问人:网友nhxy2005
发布时间:2022-01-06
A.1,1,2
B.2,2,1
C.2,2,2
D.2,2,3
有以下程序#include <iostream>using namespace std;int a;int fun ();int main (){ extern int a; int b; a = 100; b = fun(); cout<<b<<end1; return 0;}int fun{){ extern int a; return (10*a ;} 其程序运行后的输出结果是
A.100
B.10
C.1000
D.10000
A.3
B.5
C.6
D.结果不确定
有以下程序#include main(){ int num=0; while(num <=2) { num++; printf("%d\n",num); }}上面程序的输出结果是
A.0
B.9
C.3
D.-12
有以下程序 include <lostream> using namespace std; int main() { int i=010,j=10; cout<<(i)<<","<<j--<<endl; return 0; } 则该程序运行后的输出结果是【 】。
有以下程序: #include <stdio.h> main() { int a=7; while(a--); print[("%d\n",a); } 程序运行后的输出结果是()。
A.-l
B.0
C.1
D.7
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!