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 are formatting flags in ios class?

0 Answers  


What is the best c++ compiler for windows 10?

0 Answers  


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

0 Answers  


What are the three types of access specifiers in C++?

1 Answers  


Why are pointers not used in c++?

0 Answers  


What is the purpose of templates in c++?

0 Answers  


How const functions will be treated by compiler?

3 Answers   Symphony,


What are the differences between java and c++?

0 Answers  


C is to C++ as 1 is to a) What the heck b) 2 c) 10

0 Answers  


How do you declare a set in c++?

0 Answers  


What is buffer and example?

0 Answers  


Why is c++ difficult?

0 Answers  


Categories