题目内容
(请给出正确答案)
[单选题]
下列选项能正确定义一个整形数组的是:
A.int scores[];
B.int[] scores;
C.int scores={0,0,0,0};
D.int scores=new int[10];
答案
int scores[];;int[] scores;
如搜索结果不匹配,请 联系老师 获取答案
A.int scores[];
B.int[] scores;
C.int scores={0,0,0,0};
D.int scores=new int[10];
第6题
A.int num[0...2008];
B.int num[];
C.int N=2008; int num[N];
D.#define N 2008 int num[N];
第7题
A.int num[0...2008];
B.int num[];
C.int N=2008; int num[N];
D.#define N 2008 int num[N];
第8题
A.int a[5]={0,1,2,3,4,5}
B.int a[ ]={0,1,2,3,4,5};
C.char a={'A','B','C'};
D.int a[5]="0123";
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!