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 |
Can a program run without main?
Write a program that read 2o numbers in and array and output the second largest number. Can anybody help??
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
What is a node class?
Explain the difference between using macro and inline functions?
What are the weaknesses of C++?
Can you overload the operator+ for short integers?
Can we generate a C++ source code from the binary file?
Comment on c++ standard exceptions?
What gives the current position of the put pointer?
Can I run c program in turbo c++?
What is constructor in C++?