Dangling pointers in C


0

0 0

What is Dangling Pointer in C?

c-programming


Improve this question
Ravinder Singh
Edited on : Thu, Dec 15, 2016
Tanul K Saxena
Posted on : Wed, Dec 14, 2016
Views : 201

Ask Question

If you want to ask question you must LogIn or SignUp
Login SignUp

Related Questions

Answers (1)


0
When a pointer points to a memory location, it holds the address of that memory location. If we de-allocate that memory without changing the address of the pointer to either null or some other valid location, then the pointer keeps pointing to the memory location which is no more in use. Such a pointer is known as a dangling pointer.

In C programming we can use free() function to de-allocate memory.
Ravinder Singh
Thu, Dec 15, 2016
Loading...

Edit Answer

Submit
This answer will permanently deleted. Do you really want to delete this Answer ?
To Add your Answer Please
LogIn | SignUp

Quick Links

E-Magazines

@

Total Followers
Study Group Created
Study Group Joined
Following Teacher
Following Organization
Blog Articles Added
Questions Asked
Questions Answered
Jobs Posted
Total Members in Group
Questions asked by members
Tasks added in this Group

Please wait..

Ok

Login to Open ESchool OR Create your account    Login   SignUp