网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
有如下程序段:intt[][3]={1,2,3,4,5,6,7,8,9,10,11,12};printf("%d\n",t[2][1]);则执行该程序段后输出结果是()
A.8
B.7
C.4
D.2
参考答案
更多 “ 有如下程序段:intt[][3]={1,2,3,4,5,6,7,8,9,10,11,12};printf("%d\n",t[2][1]);则执行该程序段后输出结果是() A.8B.7C.4D.2 ” 相关考题
考题
有如下程序段struct abc{ int a, b, c, s;};main(){ struct abc s[2]={{1,2,3},{4,5,6}}; int t; t=s[0].a+s[1].b; printf("%d\n",t);}程序运行后输出的结果是A.5 B.6 C.7 D.8
考题
以下程序段执行后输出的结果是()。 int a[][4]={1,2,3,4,5,6,7,8,9,10,11,12}; printf("%dn",a[1][5]);A.编译有错误。B.4C.10D.11
考题
有下列程序段,程序段运行后的输出结果是()。 int t[]={0,1,2,3,4,5,6,7,8,9}, *p; p=t; printf("%dn", *p+9);A.0B.1C.9D.10
考题
若所用变量均已正确定义,则执行下面程序段后的输出结果是_____. for(i=0 ; i<2 ; i++) printf("YES"); printf("n");
热门标签
最新试卷