• 2022-05-27
    不正确的字符串赋值或初始化方式是________。
    A: char *str; str = "string";
    B: char str[7] = {'s', 't', 'r', 'i', 'n', 'g'};
    C: char strl[l0]; strl = "string";
    D: char strl[ ] = "string", str2[ ] = "12345678"; strcpy (str2, strl);