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

What is purpose of inheritance?

0 Answers  


Does c++ support multilevel and multiple inheritance?

9 Answers   IBS, Wipro,


What is inheritance in simple words?

0 Answers  


How to Increment the value of the empid E001 for each and every employee by using the programe?

1 Answers   Accenture,


design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }

0 Answers  






What is the difference between class and structure?

7 Answers  


What is overriding in oop?

0 Answers  


Why is oop useful?

0 Answers  


what is main difference between object oriented object base

2 Answers   Wipro,


why c++ is called OOPS? waht is inherutance? what is compiler?

5 Answers  


Out of 4 concepts, which 3 C++ Follow?

1 Answers   TCS,


In which Scenario you will go for Interface or Abstract Class?

1 Answers   InfoAxon Technologies,


Categories