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.


c. Declaring an object to be const.

Computer Science & Information Technology

You might also like to view...

About 90% of all computers sold are running a version of the Windows operating system

Indicate whether the statement is true or false

Computer Science & Information Technology

A(n) ________ is a category of data that is the smallest usable fact collected for each record

A) report B) form C) field D) macro

Computer Science & Information Technology

Which language is NOT supported for development on Windows Phone 7?

A. C B. Javascript C. C# D. Visual Basic

Computer Science & Information Technology

________ displays a 50/50 split screen view of two apps

A) Notepad B) Work Access C) Edge D) Snap Assist

Computer Science & Information Technology