• 2022-06-27
    char str[]=“China”; 等价于
    A: char str[5]={‘C’, ‘h’, ‘i’, ‘n’, ‘a’,’0’};
    B: char str[6]={‘C’, ‘h’, ‘i’, ‘n’, ‘a’,’0’};
    C: char str[5]={‘C’, ‘h’, ‘i’, ‘n’, ‘a’};
    D: char str[6]={‘C’, ‘h’, ‘i’, ‘n’, ‘a’};