If a is an object of the class B and void print (void) is a member function of B, then which one of the following statements will invoke the function? ?
- a::print();
- a.voidprint();
- B.print();
- a.print();
Answer:
Option d: a.print();
Explanation Here
0 Comments