Solved

Which of the Following Statements Will Not Produce a Syntax

Question 16

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:

verifed

Verified

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

Related Questions