Ad Code

Examples of errors when pointer are wrongly used


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.

Reactions

Post a Comment

0 Comments