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

Can private class be inherited?

1149


What is stream in oop?

1284


What are the types of abstraction?

1056


What is pure oop?

1079


class type to basic type conversion

2387


when to use 'mutable' keyword and when to use 'const cast' in c++

2152


What is polymorphism programming?

1110


What is the full form of oops?

1167


Is abstract thinking intelligence?

1031


What is object in oop with example?

1215


What is the point of polymorphism?

1025


What does I oop mean?

1056


What is polymorphism oop?

1049


Can an interface inherit a class?

1045


what are the different types of qualifier in java?

2253