摘要: int i;//定义int类型变量i;typedef int MyInit;//定义一种类型MyInit j;//定义int类型变量j;下面介绍一些函数指针的使用形式一:返回类型 (*函数名) (参数表)#includechar (*pFun) (int); //定义一个参数类型为int 返回值为char的函数指针pFun;//函数名即指针要指向的首地址char test(int a){ ... 阅读全文
posted @ 2018-09-01 16:53 NothingIsEverything 阅读(471) 评论(0) 推荐(0) 编辑