What is friend function?

Answer Posted / p suresh kumar

It is a non-member function, but having access to class
members.

Is This Answer Correct ?    49 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 main oop principles?

686


When not to use object oriented programming?

572


What is the purpose of enum?

585


write a program that takes input in digits and display the result in words from 1 to 1000

1994


Please send ford technologies placement paper 2 my mail id

1660






What is the difference between inheritance and polymorphism?

594


Why is polymorphism needed?

605


Why do we use oop?

607


can inline function declare in private part of class?

3663


What is abstraction in oop with example?

647


What exactly is polymorphism?

612


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1460


What is the difference between encapsulation and polymorphism?

598


What does oop mean in snapchat?

688


Why is oop better than procedural?

606