Which of the following are potential problems when we assign pointer variables:

a) inaccessible heap memory
b) dangling pointers
c) uninitialized pointers
d) NULL pointers


a) inaccessible heap memory

If only one pointer points to allocated memory, and that pointer has is pointer value changed so that it points some place else, there is no way to access or deallocate (delete) that memory. That memory remains locked up for the life of the program.

Computer Science & Information Technology

You might also like to view...

Starting from your current directory, find and delete all instances of myfile

What will be an ideal response?

Computer Science & Information Technology

Personal information such as the user name and initials are entered by clicking ________ in the PowerPoint Options dialog box

A) Account B) General C) Personalization D) Advanced

Computer Science & Information Technology

? In the figure above, which number points to the registration point?

A. 1 B. 2

Computer Science & Information Technology

Layers can be renamed.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology