![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[单选题]
以下程序的执行结果是()。#includeint multi(int x,int y);void main(){int a,b,c;a=10,b=12;c=mult(a,b);printf("%d*%d=%d",a,b,c);}int multi(int x,int y){return x*y;}
A.10*12=120
B.12
C.10
D.120
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.10*12=120
B.12
C.10
D.120
以下程序的执行结果是【 】。 a=15 .5635 b=Int(a*100+0.5)/100 Print b
A.a=%2,b=%5
B.a=2,b=5
C.a=%%d,b=%%d
D.a=2,b=%d
A.abc
B.'a''b'
C.abc
D.ab
有以下程序()
main()
{
Int x=102,y=012;
printf("/0/02d,%2d\n",X,y);
}
执行后输出结果是
A.10,01
B.02,12
C.102,10
D.02,10
A.2
B.3
C.4
D.5
A.7
B.8
C.9
D.函数调用出错
A.n=2
B.n=3
C.n=4
D.n=5
A.3,2,0
B.3,2,-1
C.4,3,-1
D.5,-2,-5
A.10
B.9
C.7
D.8
A.自然数1~9的累加和
B.自然数1~10的累加和
C.自然数1~9中的奇数之和
D.自然数1~10中的偶数之和