Solved

Why Is It an Error to Add a Const Modifier,as

Question 30

Essay

Why is it an error to add a const modifier,as shown to the declaration for the member function input given here?
class BankAccount
{
public:
void input( )const;
// other members
};

Correct Answer:

verifed

Verified

If an input routine ...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents