A ________ function is not a member of a class, but it has access to the private members of the class.
A) static
B) constructor
C) destructor
D) friend
E) None of the above
Correct Answer:
Verified
Q7: A derived class may not have any
Q10: It is possible to declare an entire
Q11: A derived class may become a base
Q28: When you derive a class from an
Q29: _ allows us to create new classes
Q32: Some C++ operators cannot be overloaded by
Q34: The _ class constructor is called before
Q36: In the statement class Car:public Vehicle, which
Q37: In an inheritance situation, you can't pass
Q38: A situation in which every object of
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