What is a friend function & its advantage?
Answer / kishor khatri
A friend function is a non member function of a class, that
is declared as a friend using the keyword "friend" inside
the class. By declaring a function as a friend, all the
access permissions are given to the function. It is like
allowing access to ones personal belongings to a friend.
| Is This Answer Correct ? | 3 Yes | 1 No |
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What is the difference between class and structure?
what is the technical or oop name of object?
What is the difference between Home and $Home?
What is the highest level of cohesion?
What is overriding vs overloading?
What is inheritance write a program to show use of inheritance?
what is use to destroy an object? illustrate.
c++ provides classes...and classes do what we want but why then strcut are used...if we say data hiding... it is also provided by c++ in structs then why to prefer clasess
In multilevel inheritance constructors will be executed from the .... class to ... class
Can we have inheritance without polymorphism?
What are the main differences between procedure oriented languages and object oriented languages?
9 Answers IBM, Infosys, Wipro,