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

What is buffer and example?

962


What programming language should I learn first?

1059


Can we use struct in c++?

986


Explain about vectors in c ++?

985


Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c

1251


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3818


What is ios flag in c++?

1162


What does obj stand for?

1115


If dog is a friend of boy, is boy a friend of dog?

942


Differences between private, protected and public and give examples.

1023


What is the best way to take screenshots of a window with c++ in windows?

1017


What does std :: flush do?

1092


What is the purpose of extern storage specifier?

1122


What are the c++ access specifiers?

1371


Should the member functions which are made public in the base class be hidden?

992