摘要: 1、定义 void (*pfun)(); void (*pfun)(int) void (*pfun)(int x) 2、使用 void add(int x) { } pfun = add; pfun(x) (*pfun)(x); 3、重新定义类型 typedef void(*FunP)(int); 阅读全文
posted @ 2019-10-31 17:51 hostid 阅读(316) 评论(0) 推荐(0)