摘要: 一道容易出错的C++笔试题 求下面代码的输出内容: int main(int argc,char argv[]) { char str1[]="Hello"; char str2="World"; cout 解析: str1指向的是字符串 "Hello" 的首地址,但 str1 同时也是一个字符数组 阅读全文
posted @ 2016-09-21 18:08 HorseShoe2016 阅读(229) 评论(0) 推荐(0) 编辑