What are the benefits of operator overloading?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Can a constructor be private?

0 Answers  


why all c++ program must have default constructor?

6 Answers   IBM,


What is a conversion constructor?

1 Answers  


What is the return value of the insertion operator?

0 Answers  


Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened

0 Answers  






What is size_type?

0 Answers  


What is size of a object of following class? class Foo { public: void foo(){} }

2 Answers   CA,


What causes a runtime error c++?

0 Answers  


In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.

5 Answers   GE,


Why the usage of pointers in C++ is not recommended ?

0 Answers   TCS,


What is the best way to take screenshots of a window with c++ in windows?

0 Answers  


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

0 Answers  


Categories