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

Does improper inheritance have a potential to wreck a project?

1160


Define copy constructor.

1121


True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends

2391


Is overriding possible in c++?

1021


What is extern c++?

1011


which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?

1184


What are the benefits of operator overloading?

1220


What are the extraction and insertion operators in c++? Explain with examples.

1201


How to declare an array of pointers to integer?

1153


What are all predefined data types in c++?

1134


What is object in c++ example?

1122


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

1037


Is c++ the most powerful language?

1094


Is c++ faster than c?

1032


Can constructor be static in c++?

1120