Question: Suppose the variable my _ register is declared to be of type CashRegister, which is an object. Suppose further that the CashRegister object has a
Suppose the variable myregister is declared to be of type CashRegister, which is an object. Suppose further that the CashRegister object has a member function named clear If the special parameter variable this is used within the member function clear, exactly how would you describe the meaning of that variable when the following statement is executed?
myregister.clear
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
