What do you know about friend class and friend function?
Answer Posted / hrpynux@gmail.com
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 |
Post New Answer View All Answers
What is ostream in c++?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
Explain the isa and hasa class relationships.
what do you mean by volatile variable?
Explain differences between new() and delete()?
Please explain class & object in c++?
What is the use of turbo c++?
Explain the scope of resolution operator.
What is this weird colon-member (" : ") syntax in the constructor?
Explain stack & heap objects?
What is guard code in c++?
How can I learn c++ easily?
What are the basics of local (auto) objects?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
What is one dimensional array in c++?