What do you know about friend class and friend function?
A friend function is a function that is specified outside a class but has the ability to access the class members' protected and private data. A friend can be a member's function, function template, or function, or a class or class template, in which case the entire class and all of its members are friends.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is called array?
How do c++ struct differs from the c++ class?
a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?
what are the decision making statements in C++? Explain if statement with an example?
What is the difference between static global and global ?
Why do you use the namespace feature?
What is a linked list in c++?
Can I learn c++ without learning c?
Difference between a homogeneous and a heterogeneous container
What is the cout in c++?
What is a constructor and how is it called?
Can we have "Virtual Constructors"?