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

Is it possible to have a recursive inline function in c++?

1031


What is the benefit of c++?

1136


Explain what are single and multiple inheritances in c++?

1027


an operation between an integer and real always yeilds a) integer result b) real result c) float result

1155


What is the difference between a pointer and a link in c ++?

1056


What is class and structure in c++?

1180


Describe private, protected and public – the differences and give examples.

1199


Why is null pointer used?

1172


What's the "software peter principle”?

1151


Can you please explain the difference between static and dynamic binding of functions?

1033


What is endl c++?

1097


Are c and c++ different?

994


Is c++ a dying language?

1154


How many keywords are used in c++?

1016


What is the use of cmath in c++?

1073