I understand the use of void pointer for malloc implementation.
void* malloc ( size_t size );
Can anyone suggest other reasons or provide
int (*f) (void); f =(void*) getprocaddress(dll,"myfunction");
to make the compiler happy