() high priority, the first p is a pointer, pointing to a one dimensional integer array, the one-dimensional array length is n, also can saying is the step length of p, that is to say, when performing a p + 1 p to across the length of the n integer data,
Pointer array defines int * p [n].
[] high priority, the first to combine with p be an array, and then illustrated by int * this is an integer pointer array, it has n pointer type of array element,
Pointer to function is essentially a function, the return value of a function is a pointer to an int * fun (x)
Where x is the formal parameters, the fun is the function name, and returns a pointer to an integer data after the call address pointer, fun (x) is the function that its value is a pointer,
A function pointer is essentially a pointer to a function, for example, int (* fun) ()
CodePudding user response:
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.htmlI hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html