单选题

下列选项中,字符数组定义正确的是(   )。

A

char a[5] = "hello";

B

char a[ ] = "hello";

C

char a = "hello"; 

D

char a[6] = 'hello';

赣ICP备20007335号-2