I want to be able to call multiple functions using a single generic function call.
Currently I am trying to implement something like this:
main()
{
generic();
}
A(){.....};
B(){.....};
C(){.....};
Where I call from main() some generic function, which, in turn, is supposed to be able to call the functions: A(), B(), C().
How can I implement this in C?
genericto always call all of the funtions - or do you want it to call one of the functions based on a parameter?