[单选题]以下正确定义字符串的语句是

A
char str[]={'\064'};
B
char str="\x43";
C
char str='';
D
char str[]="\0";
正确答案:D
扫描二维码
免费搜题、免费刷题、免费查看解析