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.
0 Comments
Please add nice comments or answer ....