摘要:
字符串函数练习 一:下列程序会打印什么 #include<stdio.h> int main(void) { char note[]="See you at the snack bar."; char *ptr; ptr=note; puts(ptr); puts(++ptr); note[7]=' 阅读全文
posted @ 2023-03-12 20:45
Ninnne
阅读(72)
评论(0)
推荐(0)
摘要:
字符串函数 一:strlen( )函数 strlen()用于统计字符串的长度 使用缩短字符串长度的函数 #include<stdio.h> #include<string.h> //内含字符串函数原型 void fit(char *,unsigned int ); int main(void) { 阅读全文
posted @ 2023-03-11 20:26
Ninnne
阅读(136)
评论(0)
推荐(0)