What are the main forms of tourist activities in ancient China()?
A.Emperors’ imperial tour
B.Religious travel
C.Travel for business
D.Travel for political reasons
![](https://lstatic.shangxueba.com/sxbcn/h5/images/tips_org.png)
A.Emperors’ imperial tour
B.Religious travel
C.Travel for business
D.Travel for political reasons
第1题
下列程序的输出结果是______。
main()
{ int a[3] [3]={{1,2,3},{4,5,6},{7,8,9}};
int i,sum=0;
for(i=0;i<=2;i++)
sum=sum+a[i] [i];
printf("%d\n",sum);
}
第2题
有以下程序
#include <stdio.h>
main()
{ char *a[]={"abcd","ef","gh","ijk"};int i;
for(i=0;i<4;i++) printf("%c",*a[i]);
}
程序运行后的输出结果是
A)aegi
B)dfhk
C) abc d
D)abcdefghijk
第3题
有如下程序 #include<iostream.h> #define N2 #define M N+1 #define NUM2*M+1 void main() { int i; for(i=1;i<=NUM;i++) cout<<i;} 该程序中的for循环执行的次数是
A.5
B.6
C.7
D.8
第4题
以下程序的输出结果是【 】。
include<stdio.h>
main()
{int i,j,sum;
for(i=3;i>=-1;i-)
(sum=0;
for(j=1;j<=i;j++) sum+=i*j;
}
printf("%d\n,sum);
}
第5题
有以下程序:
include<stdio.h>
main()
{char s[]="012xy\O8s34f4w2‘;
int i;n=0; ,
for(i=0;s[i]!=0;i++)
if(s[i]>=0s[i]<=9)n++;
printf("%d\n",n);
}
程序运行后的输出结果是()。
A.0
B.3
C.7
D.8
第6题
以下程序的输出结果是 () main() { char w[] [10]={"ABCD","EFGH","IJKL","MNOP"},k; for (k=1,k<3;k+ +)printf("%s\n",w[k]); }
A.ABCD FGH KL
B.ABC EFG IJ M
C.EFG JK O
D.EFGH IJKL
第8题
A.Keeping practicing for confidenc
B.Applying powerful visual aids.
C.Following the outline of the content.
D.Using visuals in the presentation.
第9题
下面程序的输出结果是()。 public class Sun { public static void main(String args[ ]) { int x=0; for(int i=1;i<=4;i++) { x=4; for(int j=1;j<=3;j++) { x=3; for(int k=1;k<=2;k++) { x-x+6; } } } System.out.println(x); } }
A.7
B.15
C.157
D.538
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!