Question: class Clock { private: int minutes _ ; / / number of minutes from midnight public: Clock ( ) ; } ; void showTime (
class Clock
private:
int minutes; number of minutes from midnight
public:
Clock;
;
void showTime const;
Given that myClock is an object of the above Clock class, which of the following is a proper way to call the showTime function?
myClock.showTime;
myClock.showTime
showTimemyClock;
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
