Question: 30. Which type of member function may only be called from a function that is a me ber of the same cass? (a) public )
30. Which type of member function may only be called from a function that is a me ber of the same cass? (a) public ) private global local 31. Assume that myCar is an instance of the Car class and that the Car class has a member function named accelerate. Which of the following is a valid call to the accelerate member function? (a) Car->accelerate) (b) myCar: :accelerate; (c) myCar.accelerate d) yCar:accelerate; 32. What will the following program display on the screen? #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
