• 2022-06-03
    对于用字符数组和字符指针变量处理字符串,下列定义的语句,错误的是()。
    A: char str[20]; str ="I am student”;
    B: char *str;str =“I am studen”;
    C: char str[20] =“I am studen”;
    D: char *str = {“I am studen”};