![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C Study
jsjgogogo
这个作者很懒,什么都没留下…
展开
-
C/C++ int a[]和int (*a)[]的区别
int *a[]; a与[]先结合,a为数组,数组element type =int *int (*a)[]; a与* 先结合,a为指针,指向数组,同int a[];link=https://www.jianshu.com/p/548ff8e1b243转载 2021-04-07 17:39:28 · 714 阅读 · 0 评论 -
C:函数指针
函数指针的定义typedef int (*compare_ptr)(int,int);// so there is a Type named compare_ptrint max(int x,int y){ return x>y ? x:y;}//!函数指针的定义 //? return-type (* func_ptr) (type1,type2...) printf("max of 1,2,3=%d\n",max(max(1,3),3)); in.原创 2021-03-19 19:54:27 · 15147 阅读 · 0 评论