Pointer to Function.
As we use pointer to carry address of variable,also we discussed pointer to array ,where we assigned pointer to array(pointer pointing to first address of array), similarly pointer can also be used to point to function by carrying address of the function it points.
Declaration of Function Pointer
data type: data type /return type of member function.
*ptr name: name of the pointer which is pointing to function.
arg_list: List of arguments that function is having. [Read more…] about Core c++ concepts of Pointers