• 2022-06-27
    与如下代码不等价的语句是( )
    char str[ ] = "CProgram";
    A: char str[9] =
    “CProgram”;
    B: char str[ ] = {'C',
    'P', 'r', 'o', 'g', ‘r’, ‘a’, ‘m’,
    ‘\0’};
    C: char str[ ] = {'C',
    'P', 'r', 'o', 'g', ‘r’, ‘a’, ‘m’};
    D: char str[ ] = {"
    CProgram "};