Give two examples of errors when pointer are wrongly used
Dangling pointers: a pointer points to a heap dynamic variable that has been de-allocated.
Lost Heap Dynamic variables: a heap dynamic variable that is no longer reference by any program’s pointer. The process of losing heap dynamic variable is called memory.
Lost Heap Dynamic variables: a heap dynamic variable that is no longer reference by any program’s pointer. The process of losing heap dynamic variable is called memory.
Examples of errors when pointer are wrongly used
Reviewed by MCH
on
March 01, 2014
Rating:
No comments: