Question: Consider the following statement: my _ obj - > myfun ( ) ; Why is it not possible from this statement alone to determine which
Consider the following statement:
myobjmyfun;
Why is it not possible from this statement alone to determine which member function myfunwill be executed?
Question options:
Because the variable myobj may also be stored in an array or a vector
Because the function myfundoes not have parameters
Because the variable myobj is a pointer
Because the object pointed to by myobj might be a derived object
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
