How to overload new operator in c++
Answers were Sorted based on User's Feedback
Answer / r.ramakrishna
We want use the new operator in overloading by defining the
new()operator with the fallowing operation in the class.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / guest
class[] ob=new class[5];
ob[1]= new class();
ob[2]= new class();
ob[3]= new class();
ob[4]= new class();
ob[5]= new class();
| Is This Answer Correct ? | 1 Yes | 1 No |
what is an qt4 interface?
what are the ways in which a constructors can be called?
what is static?
Templates mean
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
How to call a non virtual function in the derived class by using base class pointer
What is new keyword in oops?
Name a typical usage of polymorphism
what is the difference between inter class and abstract class...?
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...
What is the importance of oop?
Explain the concept of abstracion and encapsulation with one example. What is the difference between them?