Is it possible to have a function pointer without knowing the arguments of the function?
All tutorials I have read have declared the function pointer like so:
int (*func)(int, float);
could that just be declared as
int (*func);
or would the compiler assume that there is no arguments?
All tutorials I have read have declared the function pointer like so:
int (*func)(int, float);
could that just be declared as
int (*func);
or would the compiler assume that there is no arguments?
Comment