Question: Consider the following statement: my _ obj - > myfun ( ) ; Which of the following statements are true? I. my _ obj must
Consider the following statement:
myobjmyfun;
Which of the following statements are true?
I. myobj must be a pointer to an object.
II myfun must be a virtual function.
III. It cannot be determined from this statement alone which function myfun will actually be exacuted if it is part of an inheritance hierarchy.
I, II III
II III
I, III
II
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
