摘要:
strlen strcat strcpy strcmp 自己实现 strlen strcat strcpy strcmp c include include include include int my_strcmp(const char s1, const char s2){ assert(NUL 阅读全文
posted @ 2018-06-12 22:54
小石王
阅读(446)
评论(0)
推荐(0)
摘要:
用双引号定义并且声明的时候明确指定数组大小的话,sizeof就会返回指定的大小,不会自动加1; 用大括号定义并且声明的时候明确指定数组大小的话,sizeof就会返回指定的大小,不会自动加1; 用双引号定义并且声明的时候没有明确指定数组大小的话,sizeof就会是实际的大小+1;strlen也正常 用 阅读全文
posted @ 2018-06-12 17:17
小石王
阅读(346)
评论(0)
推荐(1)
摘要:
```c include include void fun(int a){ printf("fun:%d\n", a); } void fun1(void ( f)(int),int a){ f(a); } int gun(int a){ printf("gun:%d\n", a); } int g 阅读全文
posted @ 2018-06-12 14:28
小石王
阅读(242)
评论(0)
推荐(0)

浙公网安备 33010602011771号