A friend function is a member function of a class but only has access to the class's public data members.
Correct Answer:
Verified
Q8: A derived class cannot have a constructor
Q9: Header files of new classes contain commands
Q10: In C++ the user can create new
Q11: Default arguments can be used with an
Q12: When overloading an operator, the meaning of
Q14: The function that overloads any of the
Q15: For efficiency purposes, wherever possible, you should
Q16: By using templates, you can write a
Q17: Just as variables are parameters to functions,
Q18: In single inheritance, the derived class is
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