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

Can I learn c++ in a week?

1006


What is private, public and protected inheritance?

1053


Explain some examples of operator overloading?

1049


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

1009


Describe friend function & its advantages.

1104


Can we define function inside main in c++?

967


Can we delete this pointer in c++?

1169


Why do we use iterators?

1022


what you know about c++?

1099


Which is the best c++ compiler?

1002


Can we inherit constructor in c++?

1037


Can circle be called an ellipse?

1035


How java is different from c and c++?

1164


What are stacks? Give an example where they are useful.

1003


Show the application of a dynamic array with the help of an example.

1093