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 memory
Explanation: 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.
You might also like to view...
The ___________________ algorithm sorts values by repeatedly comparing neighboring elements in the list and swapping their position if they are not in order relative to each other.
a) insertion sort b) selection sort c) bubble sort d) quick sort e) merge sort
Case 2Crazy Carl's Funhouse Mirror Emporium is having a big sale over Memorial Day weekend, and Carl wants to send promotional postcards to every carnival in the tri-state area. Carl asks his wife, a graphic artist and professional photographer, to design the card. Her design includes a photo of Carl distorted to appear as if he were looking into a funhouse mirror. The design calls for Carl's eyes to be slightly larger than his nose. What can his wife do to see the amount of distortion in each facial feature more easily in order to keep track of slight differences?
A. Use the mesh feature to help show the amount of distortion B. Use a facial net C. Turn off the mesh feature D. Use ruler labels
Labels identify all the ____________________ included in a table.
Fill in the blank(s) with the appropriate word(s).
Masking means removing the parts of an image you do not want.
Answer the following statement true (T) or false (F)