How is television said to distort life in reporting warfare and conflicts?
A.TV teaches that all lifestyles and values are equal.
B.People are preoccupied with fantastic ideas about wars.
C.On the television screen, people see a dirty, bloody mess.
D.Television presents images of human carnage in a form. of entertainment program.
第1题
有如下程序 #include<iostream.h> #define N2 #define M N+1 #define NUM 2*M+1 void main() { int i; for(i=1,i<= NUM;i++) cout<<i;} 该程序中的for循环执行的次数是
A.5
B.6
C.7
D.8
第2题
A.5
B.6
C.7
D.8
第3题
有如下程序: #define N2 #define MN+1 #define NUM2*M+1 main() { int i; for(i=1;i<=NUM;i++)printf("%d\n",i);} 该程序中的for循环执行的次数是
A.5
B.6
C.7
D.8
第4题
下面程序的运行结果是_____和_____。
include<iostream.h>
define N 10
define s(x) x * x
define f(x) (x * x)
void main()
{ int i1,i2;
i1=1000/s(N) ;i2=1000/f(N) ;
cout < < i1 < < " " < < i2;
}
第5题
下面程序的运行结果是 #include" iostream.h" #define sum(a,b)a * b void main() { int x; x=sam(1+2,3); cout < < x; }
A.0
B.9
C.7
D.5
第6题
下面程序的输出结果是【 】。
define MIN(a,b) (((a)<(b))?a:b)
include <iostream.h>
void main()
{
int x= 3, y=5;
cout<< MIN(x,y)<<end1;
}
第7题
有以下程序段:
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;
}
程序执行后的输出结果是______。
第8题
下面程序的运行结果是 #include"iostream.h" #define sum(a,b) a*b void main() { int x; x=sum(1+2,3); cout<<x; }
A.0
B.9
C.7
D.5
第9题
下面程序的运行结果是 #include"iostream.h" #define sum(a,b)a*b void main() { int x; X=sam(1+2,3); cout<<x; }
A.0
B.9
C.7
D.5
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!