-->
当前位置:首页 > 题库 > 正文内容

MULTIPLE_CHOICE_MORE_THAN_ONE_ANSWER:The option () is equivalent to the following character array definition.

Luz3年前 (2021-05-10)题库245
The option () is equivalent to the following character array definition. ``` static char s[6] = {'H', 'a', 'p', 'p', 'y', '\0'}; ``` *@[ABCD](1) A. ``` static char s[6] = {'H', 'a', 'p', 'p', 'y'}; ``` B. ``` static char s[6] ="Happy"; ``` C. ``` static char s[6] ={"Happy"}; ``` D. ``` static char s[6] = {'H', 'a', 'p', 'p', 'y', 0}; ```



A.```
static char s[6] = {'H', 'a', 'p', 'p', 'y'};< br>```
B.```
static char s[6] ="Happy";< br>```
C.```
static char s[6] ={"Happy"};< br>```
D.```
static char s[6] = {'H', 'a', 'p', 'p', 'y', 0};< br>```


answer:A B C D

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。