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 we use clrscr in c++?

1070


Is there a sort function in c++?

979


find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.

2522


What are activex and ole?

1046


What is the difference between a baller and a reference in C++?

1107


What are the uses of pointers?

1059


Why is c++ difficult?

1027


What is c++ mutable?

1115


Why can’t you call invariants() as the first line of your constructor?

1010


In what situations do you have to use initialization list rather than assignment in constructors?

1053


What is algorithm in c++ programming?

1112


Is c++ a difficult language?

1102


Evaluate !(1&&1||1&&0) a) Error b) False c) True

1191


When does a name clash occur in c++?

1155


Is overriding possible in c++?

996