欢迎来到财会考试题库网 财会考试题库官网
logo
全部科目 > 普通考研 > 软件工程

单项选择题

以下不能进行字符串赋初值的语句是()。

    A.char *str= “good!”;
    B.char str[]= “good!”;
    C.char str[5]= {‘g’,‘o’,‘o’,‘d’};
    D.char str[5]= “good!”;

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题