You appear to be new at programming, and as such function pointers may not be the way to go with what you want to do. I posted 2 examples -- see above. The first one involves a lookup table (the one you are commenting on now) and the second one (the one I was referring to in my post) does not and is a more straighforward implementation of function pointers. I would suggest looking at that one.
Some things to note, I took the time to post 2 complete working programs for a reason - so you can copy them into your IDE and have a complete program to play with so you can start to learn how it works. By your questions it appears that you aren't doing this and thus I must have been just wasting my time.
Do me a favor, create a complete example of what you want to do. An actual program (use psuedocode where you don't know how to implement actual code). Your fun functions do not need to be fully implemented here, just give us the main body of the program. This way we can actually see what you want and then provide a way forward for you.