![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
菜袅1号
不积跬步无以至千里
展开
-
笔记:二维数组,二级指针,数组指针,指针数组详解
#include <stdio.h>#define FUNCTION_START() printf("-----------%s(%d)--start----------\n",__FUNCTION__, __LINE__)#define FUNCTION_END() printf("-----------%s(%d)--end------------\n",__FUNCTION__, __LINE__)/*************************************.转载 2022-01-24 10:59:43 · 221 阅读 · 0 评论 -
笔记:指针数组与二级指针
首先来看一段代码#include <stdio.h>int main(){ char *a[8]; char **b; char *str1 = "111"; char *str2 = "222"; char *str3 = "333"; a[0] = str1; a[1] = str2; a[2] = str3;// b = a;// b = &a; b = &a[0];原创 2022-01-24 10:37:01 · 760 阅读 · 0 评论