Write a program to return a function using class in C Plus Plus?
Classes cannot return values, only functions can return values.
But you cannot return a function from a function, you can only
return a function pointer -- a pointer variable holding the address
of the function you wish to return. All possible return values must
be of the same type, therefore all function signatures and return
types must be exactly the same -- only the name of the functions
can differ.