What is the difference between operator new and the new
operator?
Answers were Sorted based on User's Feedback
Answer / vrushali
Operator new is a function name used for operator overloading and new operator is used for allocating memory
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / guest
operator new is just like malloc and
new is the conventinal new in C++
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / man
operator new is nothing
And new operator is used to allocate memory on the heap
| Is This Answer Correct ? | 0 Yes | 6 No |
What and all can a compiler provides by default?
What is optimization in c++? when using volatile.optimization is not possible..what does this mean?
What is the role of copy constructor in copying of thrown objects?
What is the extension of c++?
What is the best way to declare and define global variables?
What data encapsulation is in c++?
What is the return value of the insertion operator?
What is data types c++?
What is insertion sorting?
How do you declare a set in c++?
What are the advantages of using pointers in a program?
Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program