选项( )与以下字符数组定义等价。 char s[6] = {'H', 'a', 'p', 'p', 'y', '\0'};
A、chars[6]={'H','a','p','p','y'};
B、chars[6]="Happy";
C、chars[6]={"Happy"};
D、chars[6]={'H','a','p','p','y',0};
发布时间:2024-05-15 21:12:09
A、chars[6]={'H','a','p','p','y'};
B、chars[6]="Happy";
C、chars[6]={"Happy"};
D、chars[6]={'H','a','p','p','y',0};