C语言中的指针数组和数组指针

能够将 *string当作数组 a[] 下的a,即指针是指向数组的首地址的;数组 指针数组是数组元素为指针的数组(例如 int *p[3],定义了p[0],p[1],p[2]三个指针),其本质为数组。 spa 指针数组( * stings[] ) 指针 c中指针能够做数组使用好比:code int a[] = "hello world"; int *p; p = a; printf("%c", *
相关文章
相关标签/搜索