2018年6月5日

函数和指针

摘要: 1、指针与函数的返回值 1 #define A 0 2 int funcA(int a, int b) 3 { 4 return a + b; 5 } 6 7 /*把指针作为函数的返回值*/ 8 int * funcB(int a, int b) 9 { 10 static int c = A; 1 阅读全文

posted @ 2018-06-05 22:36 爱火1 阅读(322) 评论(0) 推荐(0)

导航