What is the difference between operator new and the new
operator?

Answer Posted / guest

operator new is just like malloc and
new is the conventinal new in C++

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are register variables?

633


What is setf in c++?

565


Are strings mutable in c++?

681


Can non graphic characters be used and processed in C++?

689


Why is c++ called oops?

545






Explain the different access specifiers for the class member in c++.

534


How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

1823


What is a catch statement?

573


Can you write a function similar to printf()?

656


Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.

772


Which is most difficult programming language?

568


total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.

2072


What is the type of 'this' pointer?

586


What will happen if a pointer is deleted twice?

712


How do you initialize a string in c++?

543