I am new to function pointers . I have written a function which can take pointer to a function.
register_agent( void (*agent)())
I want to pass a pointer of the function
registry_agent
as a parameter to
register_agent
Can anyone pls suggest how do I do this in C. Also explain the concept behind