2019年9月26日 星期四

[C] 特殊指標用法

空指標 void *a: 可放任何資料型態的地址

函式指標(function pointer):
void funA(int a) ;
void *b = funA ;

所以funA(c) = b(c)