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...

why the memory allocated with new cant be freed using free()

Answer Posted / bharti

Because with new operator in C++ delete operator is used to
deallocate the memory. And with malloc() free() is used. S
it may not be supported by some of the compilers to free
memory with free() created by new.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the example of polymorphism?

1145


What is the advantage of oop over procedural language?

1102


can we make game by using c

4165


What is the purpose of enum?

1021


What is inheritance and how many types of inheritance?

1111


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2548


What is polymorphism used for?

1079


What is encapsulation and abstraction? How are they implemented in C++?

1148


How do you use inheritance in unity?

1088


Why is polymorphism used?

1054


Please send ford technologies placement paper 2 my mail id

2117


Why is object oriented programming so hard?

1092


What is a class oop?

1024


any one please tell me the purpose of operator overloading

2405


How many human genes are polymorphic?

1079