会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Brickert
CnBlogs
Home
New Post
Contact
Admin
Subscription
2019年5月7日
char *p、char p[]、字符串的几个题目
总结一下遇到的关于char *p、char p[]和字符串的题目: 例一:(指针的指针) 1 void getmemory(char **p) 2 { 3 p = (char *)malloc(100); //p应该是*p,因为这里是对传入的二重指针所指向的内容分配空间,而不是二重指针的地址, 4
Read More
posted @ 2019-05-07 18:52 Brickert
Views(1739)
Comments(0)
Diggs(0)
Edit
公告