I believe what you're asking about is called a function pointer. They're nifty little things that all you to store a function that you want to call into a variable, and call that function later on. There is also plenty of other uses for them, but they're fun regardless.
I could be wrong, but I believe the OP wanted to create a function that returned something that allowed other functions to be called. I don't know, these new members and not explaining themselves clearly confuses everyone.