Following are the class specifications:
class {int a};
class {int b};
Using friend funtion,calculate the max of two objects and
display it.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

Are polymorphisms mutations?

0 Answers  


What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile

4 Answers  


What is the concept of object oriented program?

6 Answers  


What is a class oop?

0 Answers  


What is the diamond problem in inheritance?

0 Answers  






what is inline function?

3 Answers  


What is Dynamic Polymorphism?

13 Answers  


What is polymorphism in oops with example?

0 Answers  


Why do we need oop?

0 Answers  


what is the difference between inter class and abstract class...?

0 Answers  


What is balance factor?

0 Answers  


What are the OOPS concepts?

106 Answers   A1 Technology, Bajaj, CTS, EDS, HP, Infosys, Intel, Microsoft, MNC, Persistent, PlanetSoft, ProConstructor, TCS, Virtusa, Wipro, YSoft Solutions,


Categories