单项选择题

下面错误的初始化语句是:()。

A.char str[]="hello";
B.char str[100]="hello";
C.char str[]={’h’,’e’,’l’,’l’,’o’};
D.char str[]={’hello’};

微信扫码免费搜题