What is friend function?

Answer Posted / karthi

the friend function access basic class variables by using
dot operators.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you achieve runtime polymorphism?

565


What is static modifier?

627


can we make game by using c

3411


Why multiple inheritance is not allowed?

581


What is the important feature of inheritance?

631






Write a program to reverse a string using recursive function?

1788


Why is oop useful?

595


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4234


What is abstraction with example?

597


Is this job good for future? can do this job post grduate student?

1685


What is difference between data abstraction and encapsulation?

611


Explain virtual inheritance?

680


What is oops and its features?

580


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3550


Why is static class not inherited?

591