Answer Posted / vigneswari
FRIEND FUNCTION IS USED TO ACCESS THE DATAMEMBERS,MEMBER
FUNCTION DECLARED UNDER PRIVATE(access
specifier)...normaly we canot access the members under
private for the whole program.......BUT USING THIS
FRIENDFUNCTION WE CAN ACCESS THE FUNCTION UNDER
PRIVATE................BEST WISHES TO B A GUD
PROGRAMMER...ALL THE BEST
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What are objects in oop?
What is class in oop with example?
What is the renewal class?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Who invented oop?
What is constructor overloading in oop?
What is the difference between abstraction and polymorphism?
Give two or more real cenario of virtual function and vertual object
What are the benefits of interface?
What is the difference between a constructor and a destructor?
What is the difference between inheritance and polymorphism?
What is polymorphism give a real life example?
How do you define social class?
What polymorphism means?
What are the two different types of polymorphism?