会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ningzj
博客园
首页
新随笔
联系
订阅
管理
2022年12月31日
利用strlen()函数获取变量的字数——the tenth——2022.12.31
摘要: strlen()函数获取字符串的长度 例如: #include <stdio.h> #include <string.h> //提供strlen()函数原型 int main(void) { int letters; char name[40]; //name是一个可容纳40个字符的数组 print
阅读全文
posted @ 2022-12-31 21:38 江理第一深情
阅读(27)
评论(0)
推荐(0)
公告