![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
对于代数体系和,如果,则. 对于代数体系和,如果,则 ?
对于代数体系和
,如果
,则
.
对于代数体系和
,如果
,则
?
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)
对于代数体系和
,如果
,则
.
对于代数体系和
,如果
,则
?
第1题
以上程序的输出结果是______。 define MIN(x,y) (x)<(y)?(x):(y) main() { int a=5,b=2,c=3,d=3,t: t=MIN(a+b,c+d)*10;printf("%d\n" t);}
第2题
下面程序的输出结果是【 】。
define MIN(a,b) (((a)<(b))?a:b)
include <iostream.h>
void main()
{
int x= 3, y=5;
cout<< MIN(x,y)<<end1;
}
第3题
A.1
B.2
C.12
D.编译错误
第4题
以下程序的输出结果是_[19]_______
#include <stdio.h>
#define M 5
#define N M+M
main()
{ int k;
k=N*N*5; printf("%d\n",k);
}
第5题
若定义define PI 3.14159,则执行完下列程序后输出结果是______。 define PI 3.14159;printf("PI=%P",PI);
第6题
下列程序的输出结果是【 】。 define PR(a)printf("%d\t",(int)(a)) define PRINT(a)PR(a);printf("ok!") main() { int i,a=1; for(i=0;i<3;i++) PRINT(a+i); printf("\n");}
第7题
以下程序的输出结果是 ______。 #include<stdio> main() {int a=200; #define a 100 printf("%d",a) ; #undefa printf("%d",a) ; }
A.200 100
B.100 100
C.100 200
D.200 200
第8题
有以下程序段:
include<iostream.h>
define MIN(x,y) (x)<(y)?(x):(y)
void main()
{
int i,j,K;
i=10;j=15;
k=10*MIN (i,j);
cout<<k<<endl;
}
程序执行后的输出结果是______。
第9题
A.5
B.6
C.9
D.1
第10题
以下程序的输出结果是______。 #include<stdio.h> #define FUDGE(y) 2.84+y #define PR(a) printf("%d",(int)(a)) #define PRINT1(a) PR(a);putchar('\n') main() { int x=2; PRINT1(FUDGE(5)*x); }
A.11
B.12
C.13
D.15
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!