摘要: char *p; // 不以空字符结尾的只能是字符数组 char str[] = {'a', 'b', 'c', 'd', 'e'}; char str1[] = {'a', 'b', 'c', 'd', 'e', '\0'}; cout << str1 << endl; char str2[] = "sdfsdfsdfwerwetrwerfsd";... 阅读全文
posted @ 2017-12-10 16:03 我是外婆 阅读(100) 评论(0) 推荐(0)