Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between new/delete and malloc/free?



What is the difference between new/delete and malloc/free?..

Answer / neelam saini

Malloc/free do not know about constructors and destructors. New and delete create and destroy objects, while malloc and free allocate and deallocate memory.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is binary search in c++?

0 Answers  


What are built-in functions? What is the syntax for the definition?

0 Answers  


What is wrapper class in c++?

0 Answers  


Which algorithm do you like the most? Why?

2 Answers   Google,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

0 Answers   CTS,


To which numbering system can the binary number 1101100100111100 be easily converted to?

0 Answers  


What is an inline function in c++?

0 Answers  


When one must use recursion function? Mention what happens when recursion functions are declared inline?

0 Answers  


Can member functions be private?

0 Answers  


Types of storage and scope of each type

2 Answers   CA,


When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference?

1 Answers   Microsoft,


What new()is different from malloc()?

0 Answers  


Categories