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 function overloading?,describe it with the example.
what is the difference between ERROR and EXCEPTION?
What are the 4 main oop principles?
How is polymorphism achieved?
how to get the oracle certification? send me the answer
Difference between realloc() and free?
Can you name some types of inheritance?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is virtual Function.
what about you? wahat is your object? introduce your self?
1 Answers Ajmal Perfumes, TCS,
inheritence with example
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)