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

Shall we use 'free' to free memory assigned by new, What are
the further consequences??

Answer Posted / guest

Yes we can use free which was assigned by new.but in this
case no destrctor will be called as free doesn't call this.
So it is recommended that we should not use free if we
allcoate the memory using new.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main use of c++?

1116


What is static in c++?

1049


What is different in C++, compare with unix?

1072


What is a breakpoint?

1012


How can you link a c program with a c function?

1057


What is prototype for that c string function?

1116


what are Access specifiers in C++ class? What are the types?

1211


Explain abstraction.

1097


What is setbase c++?

1119


Explain what is oop?

1059


What is c++ in english?

1054


Differentiate between a constructor and a destructor in c++.

1006


Explain the properties and principles of oop.

1010


What is private, public and protected inheritance?

1072


To which numbering system can the binary number 1101100100111100 be easily converted to?

1052