A friend function:

a. Is illegal in C++.
b. Is always type const.
c. Cannot access directly the private data members of its object arguments or operands.
d. Has all the access privileges of a member function.
e. Cannot call any private member functions.


d. Has all the access privileges of a member function.

Computer Science & Information Technology

You might also like to view...

What is the value of s3 after the following code is executed?

``` var s1 = one, s2 = two, s3 = three; s1.concat(s2) s3 = s1; ``` a) one b) onetwo c) three d) onetwothree

Computer Science & Information Technology

Which of the following is not a reason for using specialized queries?

A) They help you streamline (limit) your data. B) They help you improve the integrity of your data. C) They help you analyze your data. D) They help you find group and summarize your data.

Computer Science & Information Technology

Which of the following is not a video file extension?

A. .jpg B. .mpg C. .avi D. .mov

Computer Science & Information Technology

____ is a growing concern because of the vast amounts of personal data stored in databases today and the many data privacy breaches that are occurring.

A. Data privacy B. Data integrity C. Data accessibility D. Data legibility

Computer Science & Information Technology