I can write the c program using the function pointer to call the function using the pointer instead of function name, but I don't understand the reason why use function pointer instead of using the function name.
If you really know the advantage of function pointers, could you help me understand how the function pointer gives the advantage over using function names?
If you really know the advantage of function pointers, could you help me understand how the function pointer gives the advantage over using function names?