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

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

A.int num[]

B.#define N 100Int num[N]

C.int num[0..100]

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

正确答案是B