How to call a function using a pointer?
a)pointer_var=function()
b)pointer_var-function()
c)function=pointer_var()
d)pointer_var function()
Answers
Answered by
0
You can declare the function pointer as follows: bool (funptr*)(); Which says we are declaring a function pointer to a function which does not take anything and return a bool. bool (*FuncPtr)() FuncPtr = A; FuncPtr();...
Hope it will helps you....☺
Similar questions