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

单项选择题

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

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

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

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