问题 单项选择题

以下能正确定义一维数组的选项是

A.int num[ ];

B.#define N 100    int num[N];

C.int num[0..100];

D. int N=100;   int num[N];

答案

参考答案:B

单项选择题
单项选择题