【C學習筆記】強大的 void * 指針,指向任意函數並調用該函數!

#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> //構造三個參數和返回值不同的函數; int fun1(int a, int b) { return a + b; } char* fun2(char* a, char* b) //合併a,b字符串 { in
相關文章
相關標籤/搜索