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 the use of bit fields in structure declaration?

0 Answers  


Describe run-time type identification?

1 Answers  


Define private, protected and public access control.

0 Answers  


Explain binary search.

0 Answers  


Does c++ vector allocate memory?

0 Answers  


When you overload member functions, in what ways must they differ?

0 Answers  


How can you find the nodes with repetetive data in a linked list?

1 Answers   Lucent,


What is the size of pointer ? Also size of pointer in 64 bit pointer

4 Answers  


Incase of a function declaration, what is extern means?

0 Answers  


Is there anything you can do in C++ that you cannot do in C?

1 Answers  


Can a constructor return a value?

1 Answers  


structure contains int, char, float how it behaves for big endian and little endian?

1 Answers   BITS,


Categories