If we have a full selection of accessor and mutator functions, why would we have friend functions?
A) You should not have them
B) More efficient access to the private data members.
C) The friend function must call the accessor or mutator functions anyway.
D) none of the above
Correct Answer:
Verified
Q35: Write the function declaration for a destructor
Q36: Both the copy constructor and the assignment
Q37: Given the following class, what is syntactically
Q38: Why should you generally pass an object
Q39: How many parameters are there in a
Q41: What member functions do you need to
Q42: Given the following function declaration,
Friend void displayconst
Q43: The destructor for a class is called
A)
Q44: Which of the following statements are true?
A)
Q45: In an overloaded insertion or extraction operator,
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents