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

What is the use of seekg in c++?

991


Explain Text Manipulation Routines?

1039


What is the function to call to turn an ascii string into a long?

1001


Explain how the virtual base class is different from the conventional base classes of the opps.

1104


Define anonymous class.

1013


Is main a class in c++?

961


What is a multimap c++?

1140


Will the following program execute?

991


Describe private, protected and public?

1038


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

1008


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

972


What is the difference between public, private, and protected access?

1010


Explain stack & heap objects?

992


write a function signature with various number of parameters.

989


Show the declaration for a static member variable.

954