Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 do pointers exist?

0 Answers  


How to overload postfix operator in c++

1 Answers   Mphasis,


Write a program in c++ to read two floating point numbers and find their sum and average.

2 Answers  


What is persistence in oop?

0 Answers  


How do you achieve polymorphism?

0 Answers  


what is object slicing

3 Answers   TCS,


What is the difference between declaration and definition?

20 Answers   IBS,


class type to basic type conversion

0 Answers  


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

0 Answers  


Write a program to reverse a string using recursive function?

0 Answers   TCS,


How can you overcome the diamond problem in inheritance?

0 Answers   NIIT,


1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.

1 Answers   Tech Mahindra,


Categories