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

Why n++ execute faster than n+1 ?

2884


Explain the difference between call by value and call by reference in c language?

1073


Are comments included during the compilation stage and placed in the EXE file as well?

1041


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

1442


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

2255


Explain how to reverse singly link list.

1092


a program that can input number of records and can view it again the record

1875


What does the c preprocessor do?

1072


How can I ensure that integer arithmetic doesnt overflow?

1110


What happens if you free a pointer twice?

1038


Explain how can a program be made to print the name of a source file where an error occurs?

1158


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1834


Write a code of a general series where the next element is the sum of last k terms.

1006


How can I convert a number to a string?

1113


What are the disadvantages of a shell structure?

1293