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

What are dangling pointers? How are dangling pointers different from memory leaks?

Answer Posted / hrpynux@gmail.com

So dangling pointer is nothing but a pointer which is pointing a dynamic variable whose scope is already finished. Memory leak: When there is a memory area in a heap but no variable in the stack pointing to that memory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is extern keyword in c?

1081


Explain what is the benefit of using #define to declare a constant?

1092


What are the different file extensions involved when programming in C?

1201


Difference between linking and loading?

1058


Explain how can I remove the trailing spaces from a string?

990


What is the modulus operator?

1148


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

2106


What is omp_num_threads?

1034


What is variable declaration and definition in c?

855


The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

1037


What are shell structures used for?

983


Explain what is the difference between a free-standing and a hosted environment?

1125


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2120


What are types of functions?

971


Why can’t we compare structures?

1225