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
write a programe to calculate the simple intrest and compund intrest using by function overlading
Why interface is used?
write a C++ program for booking using constructor and destructor.
How does polymorphism work?
What is polymorphism and its types?
Why it is called runtime polymorphism?
What is abstraction in oops?
What is coupling in oops?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Why is abstraction needed?
What is inheritance in oop?
What is static modifier?
What makes a language oop?
Can we have inheritance without polymorphism?
What is overriding vs overloading?