摘要: #include<stdio.h> #include<string.h> using namespace std; //C语言字符串中以'\0'结尾,占一个字节的空间,但是实际长度中不包含'\0' int main() { char a = 'a'; //单个字符只占用一个字节空间 char b[] 阅读全文
posted @ 2020-03-13 18:05 三行代码划江湖 阅读(300) 评论(0) 推荐(0) 编辑