Answer Posted / nitish
If you are not the actual member of the class and want the
access over the functions involved in the class, then it can
be done through friend function.
An easy access to the data is provided through friend functions.
Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
Why multiple inheritance is not possible?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is the difference between encapsulation and polymorphism?
Why interface is used?
What is a class and object?
What is difference between abstraction and encapsulation?
Get me a number puzzle game-program
Can we define a class within the interface?
class type to basic type conversion
What is a class oop?
write a C++ program for booking using constructor and destructor.
How to call a non virtual function in the derived class by using base class pointer
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is polymorphism give a real life example?
Explain the advantages of inheritance.