Which type of housing has no more rooms for students?
A.The international houses.
B.The student dorms.
C.The Spanish house.
D.Men's houses.
第1题
以下程序的输出结果是【 】。
include<iostream. h>
void main()
{
char cha[3][5]={"AAAA","BBBB","CC"];
cout<<cha[1]<<end1;
}
第2题
以下程序的输出结果是【 】。
include<iostream. h>
void main() {
char *p= "12345678" , *r;
long *q;
q=(long *)p;
q++;
r= (char *) q:
cout<<r;
}
第3题
以下程序的输出结果是【 】。
include<iostream. h>
void main() {
int *p;
p=new int;
*p=200;
cout<<*p;
delete p;
}
第4题
以下程序的输出结果是【 】。
include<iostream. h>
void main() {
int a[]= {1, 3, 5, 7}, *p=a, i;
for (i=0; i<4: i++)
a[i]=*p++;
cout<<a[2];
}
第5题
以下程序的输出结果是_[19]_______
#include <stdio.h>
#define M 5
#define N M+M
main()
{ int k;
k=N*N*5; printf("%d\n",k);
}
第6题
以下程序的输出结果是______。 #finclude<stdio.h> 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
第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
第9题
A.5
B.6
C.9
D.1
第10题
以下程序的输出结果是【 】。
include<iostream. h>
viod main() {
char sl[5]= "ABCD", s2=[5];
int k;
for(k=0;k<4:k++)
s2[k]=(sl[k]- '0' +1) + '0' ;
s2[k]= '\0' ;
cout<<s2;
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!