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 |
Which programming language's unsatisfactory performance led to the discovery of c++?
Which c++ compiler is best?
What apps are written in c++?
Why do we need constructors in c++?
What is format for defining a structure?
What is the use of register keyword with the variables?
Can we distribute function templates and class templates in object libraries?
We use library functions in the program, in what form they are provided to the program?
What do you mean by inheritance in c++?
Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report whether it’s a valid date or not. The program should take account of leap years. You will need to know that a leap year is a year that is exactly divisible by 4, except that century years are only leap years if they are divisible by 400.
What is boyce codd normal form in c++?
What is setiosflags c++?