+ 3
what do following declaration signify?? void (*cmp)();
2 Réponses
+ 2
It's a pointer to function. You can assign to it an address of any function which returns void and has no parameters and later call assigned function via this pointer.
+ 3
cmp is a function that returns a void pointer.