A.8
B.2
C.6
D.4
第2题
阅读下面的程序,填写程序中缺少的部分,并把程序的输出结果写出来;
classTest{
staticvoidShowArrayInfo(int[]student){
for(inti=0;i
Console.Write(student[i]++);
Console.Write(“”);
}
}
staticvoidMain(){
int[]student=newint[]{1,2,3,4,5};
ShowArrayInfo(student);
Console.Write(“/n”);
ShowArrayInfo(student);
}
}
输出结果:
第3题
A.1
B.2
C.3
D.4
第4题
A.1
B.2
C.3
D.4
第6题
A.[‘a’,‘b’,‘c’,‘d’,‘e’,‘f’,’/n’]
B.[‘abcdef’]
C.[‘a’,‘b’,‘c’,‘d’,‘e’,‘f’]
D.[‘abcdef/n’]
第9题
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!