摘要: 此次案例注重讲解:指针数组、数组指针以及函数指针的应用。有一点难度,需要只需琢磨!代码如下: 1 /* 2 @author zengweilin 3 @2011/6/16 指针的应用举例 4 @notice:声明在C语言函数中只能放在开头,切记!!! 5 */ 6 #include "stdio.h" 7 #include "stdlib.h" 8 /*返回指向函数的指针*/ 9 int* fun(int a){10 return &a;11 }12 int main(){13 /*<1>*/14 int *a=fun(10);15 阅读全文
posted @ 2011-06-19 23:14 KISS's blog 阅读(1147) 评论(5) 推荐(1) 编辑