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 / uma sankar pradhan

No,we shouldnot use 'free' to free memory assigned by new.
It causes memory leak and sometimes hanging of the system

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you generate a random number in c++?

1081


Can you sort a set c++?

980


What is flush c++?

996


What is the latest c++ version?

1097


Explain selection sorting. Also write an example.

1022


Explain what happens when a pointer is deleted twice?

1244


Where must the declaration of a friend function appear?

949


What do you mean by inheritance in c++?

1080


What return value must conversion operators have in their declaration?

1076


Define copy constructor.

1089


What are the differences between new and malloc?

1112


What is a null object in c++?

1209


Is dev c++ a good compiler?

956


Can I make ios apps with c++?

1037


Differentiate between late binding and early binding. What are the advantages of early binding?

1023