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 virtual destructor? Why?
3 Answers Agile Software, College School Exams Tests, CSC,
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is the difference between the c++ & java?
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage
What is debug class?what is trace class? What differences are between them? With examples.
How do you use inheritance in unity?
What causes polymorphism?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
what are the uses of C++
Generally, in all C++ programs, texts are in white colour. Can we change the colour of the text(either input or output or both)? If so, help me out.
What does and I oop and sksksk mean?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box