摘要:
问题一、c语言如何计算字符串的长度?答:可以用strlen()函数计算字符串的长度,对应的头文件是#include<string.h> 问题二、if/else if之间的区别?答: int firstUniqChar(char * s){ int len = strlen(s); //计算字符串的长 阅读全文
posted @ 2019-11-25 20:25 辉仔猿 阅读(222) 评论(0) 推荐(0)
posted @ 2019-11-25 20:25 辉仔猿 阅读(222) 评论(0) 推荐(0)