Multiple Choice
Which of the following statements will not produce a syntax error?
A) Defining a const member function that modifies a data member of the object.
B) Invoking a non-const member function on a const object.
C) Declaring an object to be const.
D) Declaring a constructor to be const.
Correct Answer:

Verified
Correct Answer:
Verified
Q11: Inside a function definition for a member
Q12: Utility functions:<br>A) Are private member functions that
Q13: A default constructor:<br>A) Is a constructor that
Q14: Returning references to non-const, private data:<br>A) Allows
Q15: Every object of the same class:<br>A) Gets
Q17: A client changing the values of private
Q18: A class-scope variable hidden by a block-scope
Q19: Which of the following is not true
Q20: Which of the following statements is false?<br>A)
Q21: If the line: friend class A;<br>Appears in