What is a friend function in c++?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• A non-member function that has access to the private and protected members of a class. Declared using the friend keyword.
| Is This Answer Correct ? | 0 Yes | 0 No |
• A non-member function that has access to the private and protected members of a class. Declared using the friend keyword.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the error in the code below and how should it be corrected?
what is oops
What is the use of endl in c++?
why and when we can declar member fuction as a private in the class?
How do you clear a map in c++?
What is polymorphism & list its types in c++?
Why do we need function?
What is meant by entry controlled loop?
0 Answers Agilent, ZS Associates,
Explain the isa and hasa class relationships.
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
What is the full form of dos?
What is istream and ostream in c++?