欢迎来到易学考试网 易学考试官网
全部科目 > 大学试题 > 计算机科学 > C++语言程序设计

单项选择题

‏下列定义字符串类string对象的语句中,错误的是()。‍

    A.string str =“Hello,world”;
    B.string str(“Hello,world”);
    C.string str;
    D.string str =‘Hello,world’;

点击查看答案&解析

相关考题

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

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