Question: class CashRegister { public: void set _ item _ count ( int count ) ; void view ( ) const; void view _ count (

class CashRegister
{
public:
void set_item_count(int count);
void view() const;
void view_count() const;
CashRegister();
CashRegister(int item_count);
CashRegister(double cash_balance);
CashRegister(int item_count, double cash_balance);
private:
int item_count1;
double cash_balance1;
};
Which of the following constructors is called for the object declaration CashRegister c1(10,100)?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!