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 do you mean by inheritance?

0 Answers   IBS,


WAP find square root of any number (without using sqrt() )?

3 Answers  


What is the oops and benefits of oops programming?

0 Answers  


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<<k; } //please comment on the output

0 Answers  


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

0 Answers  


what is runtime polymorphism? For the 5 marks.

3 Answers  


What is the renewal class?

0 Answers   Ebix, IBM,


What is object in oop?

0 Answers  


How can we use the preprocessor #if and #elseif.

2 Answers  


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

0 Answers   IBM,


is there any choice in opting subjects like 4 out of 7

0 Answers  


What is polymorphism and example?

0 Answers  


Categories