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 the use of c++ programming language in real life?
How to reduce a final size of executable?
write a program to insert an element into an array
Differentiate between the manipulator and setf( ) function?
can output 5 students using one dimensional array
Explain the benefits of proper inheritance.
what is importance of data sturture in a programming language?
22 Answers L&T, TCS, Wipro,
What is scope operator in c++?
State two differences between C and C++.
Explain explicit container.
What is ostream in c++?
Can a function take variable length arguments, if yes, how?