Which of the following is not true about friend functions and friend classes?

a. A class can either grant friendship to or take friendship from another class using the friend keyword.
b. A friend declaration can appear anywhere in a class definition.
c. A friend of a class can access all of its private data member and member functions.
d. The friendship relationship is neither symmetric nor transitive.


a. A class can either grant friendship to or take friendship from another class using the friend keyword.

Computer Science & Information Technology

You might also like to view...

Which layer of the OSI model provides end-to-end communication control?

A) Session B) Network C) Application D) Transport

Computer Science & Information Technology

Two environmental conditions that can damage a computer are heat and ________

A) humidity B) barometric pressure C) air pressure D) wind

Computer Science & Information Technology

Using the ____ is usually faster than looking through Code view and editing manually.

A. HTML Editor B. Code Editor C. Quick Tag Editor D. Entity Editor

Computer Science & Information Technology

What are the subnetting formulas?

What will be an ideal response?

Computer Science & Information Technology