Why Pointers To Functions in C++ -
I want to ask when do we need to use the indicators for more functions? I had received some searches and answers so that we could use different functions at different times, but can we still do this by calling the function directly?
Thank you. It is possible to obtain the same effect by using the object with the virtual member function in C ++, the object is the reference of the base class or the indicator then the object pointer is used directly to the function pointer Same is serving the same purpose. I do not think there is any other way to do this in C.
Comments
Post a Comment