How to overload postfix operator in c++



How to overload postfix operator in c++..

Answer / r.ramakrishna

Defining the variables in the class of a method after the
method will executed.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More OOPS Interview Questions

When is a memory allocated to a class?

11 Answers  


why the argument is passed by reference to a copy constructor?example?

2 Answers  


why freind function takes more parameter than normal member function in c++?

1 Answers   IBM,


Prepare me a program for the animation of train

0 Answers  


can you give the dynamic polymorphism types?

2 Answers   Wipro,






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,


What is polymorphism what are the different types of polymorphism?

0 Answers  


me get an assignent n its question is this 1.creat a set as in math i.ea={1,2} 2.insert element in it3. delete element don,t repeat any element 4.union 5. intersection of two sets plz help me i always pray for u n send me at ayeshawzd@hotmail.com f u have c++ how to program 5th addition then it is the 10.9 question in 10th chapter exercise

1 Answers  


What are constructors in oop?

0 Answers  


What is the concept of object oriented program?

6 Answers  


What is encapsulation and abstraction? How are they implemented in C++?

0 Answers   Agilent, ZS Associates,


what are abstract classes and how they impliment , with example

2 Answers  


Categories