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

Why static Function is used in C++?

4 Answers   TCS,


What is the concept of object oriented program?

6 Answers  


Which is better struts or spring?

1 Answers  


what is overloading

3 Answers   MindCracker,


What are oops methods?

1 Answers  


suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?

3 Answers   EA Electronic Arts,


What do you mean by binding of data and functions?

3 Answers  


what is the technical or oop name of object?

1 Answers  


What is the difference between a mixin and inheritance?

1 Answers  


What are the types of abstraction?

1 Answers  


What is class encapsulation?

1 Answers  


What is meant by oops concept?

1 Answers  


Categories