What happens if the declaration of genClass:
class genClass { .................. virtual void process1(char); virtual void process2(char);};is followed by this declaration of derivedClass?class derivedClass : public genClass { .................. void process1(int); int process2(char);};Which member functions are invoked if the declaration of two pointers
genClass *objectPtr1 = &derivedClass, *objectPtr2 = &derivedClass;is followed by these statements?objectPtr1->process1(1000);objectPtr2->process2('A');
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.