What is the difference between operator new and the new
operator?
Answer Posted / man
operator new is nothing
And new operator is used to allocate memory on the heap
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What is the use of default constructor?
What is ios class in c++?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
What is a syntax in c++?
Declare a class vehicle and make it an abstract data type.
Which ide is best for c++?
Is C++ case sensitive a) False b) Depends on implementation c) True
List different attributes in C++?
What are the two types of polymorphism?
What is c++ used for in games?
What is a rooted hierarchy?
What do you mean by enumerated data type?
What is the iunknown interface?
Write my own zero-argument manipulator that should work same as hex?
How we can differentiate between a pre and post increment operators during overloading?