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

Difference between null pointer and dangling pointer?

Answer Posted / vrushali

free should be able to free as it maintains a table from
where it can start freeing the memory. It is OS related issue.

There is no way in C where we can ensure that the particular
memory is freed a even after free we can access the variable
for some time. In Java, we have a memory deallocator.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are terms in math?

1044


what is the diffrenet bettwen HTTP and internet protocol

1832


Is c procedural or object oriented?

999


What does main () mean in c?

1095


Explain what does the format %10.2 mean when included in a printf statement?

1351


What are c identifiers?

1087


What do you mean by invalid pointer arithmetic?

1068


What are the different data types in C?

1199


How can I find out if there are characters available for reading?

1107


What's a good way to check for "close enough" floating-point equality?

1155


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

1236


What is infinite loop?

1080


What is non linear data structure in c?

1018


What header files do I need in order to define the standard library functions I use?

1050


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1026