摘要: 继续提升吧! 字符串 在C语言中,没有字符串型数据,只能用字符数组和字符指针来处理字符串。 如: char ca[10]={‘h’,’e’,’l’,’l’,’o’,’\0’}; 或 char ca[10]={“hello”}; 或 char ca[10]=”hello”; 都表示ca这个字符串中有1 阅读全文
posted @ 2021-08-28 01:19 httpcc 阅读(346) 评论(0) 推荐(0) 编辑