题目
以下数组定义中错误的是
A)int x[][3]={0};
B)int x[2][3]={{l,2},{3,4},{5,6}};
C)int x[][3]={{l,2,3},{4,5,6}};
D)int x[2][3]={l,2,3,4,5,6};
第1题
A.int x[][3]={0};
B.int x[2][3]={{l,2},{3,4},{5,6}};
C.int x[][3]={{l,2,3},{4,5,6}};
D.int x[2][3]={l,2,3,4,5,6};
第2题
A.int x[][3]={0};
B.int x[2][3]={{l,2},{3,4},{5,6}};
C.int x[][3]={{l,2,3},{4,5,6}};
D.int x[2][3]={l,2,3,4,5,6};
第3题
A.int x[][3]={0};
B.int x[2][3]={{l,2},{3,4},{5,6}};
C.int x[][3]={{l,2,3},{4,5,6}};
D.int x[2][3]={l,2,3,4,5,6};
第4题
A.int x[][3]={0};
B.int x[2][3]={{l,2},{3,4},{5,6}};
C.int x[][3]={{l,2,3},{4,5,6}};
D.int x[2][3]={l,2,3,4,5,6};
第5题
A.int x[ ][3]={0};
B.int x[2][3]={{1,2},{3,4},{5,6}};
C.int x[ ][3]={{1,2,3},{4,5,6}};
D.int x[2][3]={1,2,3,4,5,6};
第6题
A.int x[][3]={0};
B.int x[2][3]={{1,2},{3,4},{5,6}};
C.int x[][3]={{1,2,3},{4,5,6}};
D.intx[2][3]={1,2,3,4,5,6};
第7题
A.int x[][3]={0};
B.int x[2][3]={{1,2},{3,4},{5,6}};
C.int x[][3]={{1,2,3},{4,5,6}};
D.int x[][3]={1,2,3,4,5,6};
第8题
A)getc()
B)gets()
C)getchar()
D)scanf()
第9题
A)
#include <stdio.h>
main();
{/*programming*/
printf("programming!\n");}
B)
#include <stdio.h>
main()
{/*/ programming /*/
printf("programming!\n");}
C)
#include <stdio.h>
main()
{/*/*programming*/*/
printf("programming!\n");}
D)
include
<stdio.h> main()
{/*programming*/
printf("programming!\n");}
第10题
A)
switch(x)
{ case 1.0: printf("*\n");
case 2.0: printf("**\n");}
B)
switch((int)x);
{ case 1: printf("*\n");
case 2: printf("**\n");}
C)
switch(a+b)
{ case 1: printf("*\n");
case 2+1: printf("**\n");}
D)
switch(a+b)
{ case 1: printf("*\n");
case c: printf("**\n");}
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!