write a c++ code to overload + and - for a stack class such
that + provides push and - provides pop operation



write a c++ code to overload + and - for a stack class such that + provides push and - provides pop..

Answer / anmol

just leave this question this is the best option i also
done the same thing and got selected

Is This Answer Correct ?    18 Yes 15 No

Post New Answer

More OOPS Interview Questions

What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass

6 Answers   Wipro,


how to tackle technical questions

1 Answers  


What is object and example?

0 Answers  


Which is the parameter that is added to every non-static member function when it is called?

3 Answers   Accenture,


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

2 Answers  






What are the 3 pillars of oop?

0 Answers  


Advantage and disadvantage of routing in telecom sector

0 Answers  


what is code for call by value and call by reference?

1 Answers  


what is cast operator?

2 Answers   Microsoft,


What is overloading and its types?

0 Answers  


Which language is pure oop?

0 Answers  


Hi All, I am new to programming and want to know how can i write a code to take input of 2 numbers from user and swap it without using a temp variable?

2 Answers   NIIT,


Categories