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 |
Can we override main method?
what is the difference between a package and a software?
What is the expansion of OOPS?
Describe what an Interface is and how it?s different from a Class.
What is oops in simple words?
What is the difference between pass by reference and pass by value?
What is public, protected, private?
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
What is encapsulation c#?
what is object oriented programming and procedure oriented programming?
What are functions in oop?
Can a varargs method be overloaded?