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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c++ considered difficult?

1161


What language does google use?

1180


Will a catch statement catch a derived exception if it is looking for the base class?

1020


Is there finally in c++?

1118


How do you differentiate between overloading the prefix and postfix increments?

1103


What is istream c++?

1206


Why do we need constructors in c++?

1119


Explain binary search.

996


Is java easier than c++?

1041


What is data hiding c++?

1053


Define 'std'.

1183


What is auto used for in c++?

1057


How much maximum can you allocate in a single call to malloc()?

1114


What new()is different from malloc()?

1121


Can a class be static in c++?

1108