Which of the following are potential problems when we use the delete operator on a pointer variable?

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


b) dangling pointers

Computer Science & Information Technology

You might also like to view...

Given the code below

``` var rectangleA = { x: 200, y: 10, width: 40, height: 20, moveDown: function () { this.y += 5; } }; ``` (i) write a statement to change the x value of rectangleA to 150. (ii) write a statement to invoke the method moveDown() on rectangleA.

Computer Science & Information Technology

The size and appearance of the four sections of the CSS box model control how an element is displayed by browsers and play an important role in determining page ____.

A. margins B. content C. layout D. design

Computer Science & Information Technology

Like the majority of malware, whose survival is almost entirely contingent upon concealment, ransomware does not proclaim its existence at inception

Indicate whether the statement is true or false.

Computer Science & Information Technology

The RequiredFieldValidator validation control matches an input value to a pattern to see if the values match a predictable sequence.

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

Computer Science & Information Technology