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 |
What is encapsulation process?
In multilevel inheritance constructors will be executed from the .... class to ... class
What is difference between polymorphism and inheritance?
3. Differentiate verification and validation.
What is the difference between the c++ & java?
Where is pseudocode used?
What is multiple inheritance? Give Example
What is inheritance write a program to show use of inheritance?
What is a class in oop?
Can we have a private virtual method ?
What is the importance of oop?
What is abstraction in oop?