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 |
Have you ever used threads?
what is the difference between javap and jad utility
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is namespace?
What Is a Polymorphism? How many types of polymorphism and whats that use in application?
Why do we use class?
features of OOPS
22 Answers Ness Technologies, Satyam,
i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????
Write an operator overloading program to Overload ‘>’ operator so as to find greater among two instances of the class.
Write a program to reverse a string using recursive function?
What is object and class in oops?
What do you mean by variable?