Suppose the unary ! operator is an overloaded member function of class String. For a String object s, which function call is generated by the compiler when it finds the expression !s?

a. s.operator!()
b. s.operator!( default_value1, default_value2,…)
c. operator!( s )
d. A compiler error results because no arguments are given.

a. s.operator!()

Computer Science & Information Technology

You might also like to view...

To change a desktop background, right-click on the desktop to display the shortcut menu and select ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The most striking difference between the Performance Monitor and the Task Manager is that the Performance Monitor:

A) Can only be used by computer support technicians B) Creates charts with more detail C) Is more accurate D) Shows nonresponsive programs

Computer Science & Information Technology