What happens if a non-class function attempts to access a private mem
ber?

a. compile time error
b. compile time warning, but program compiles
c. the program compiles but the results are undefined
d. the program is certain to crash
e. some of the above, but the result varies from system to system

A

Computer Science & Information Technology

You might also like to view...

A technique known as ______ enhancement  places code conforming to olderstandards before newer properties.

A. color B. progressive C. text D. opacity

Computer Science & Information Technology

Which mode argument, used with an ofstream object, is used to open a file for output purposes (an empty file to which data can be written)?

A. open::output B. ios::out C. ios::app D. open::out

Computer Science & Information Technology