Given that the line
delete newPtr;
just executed, what can you conclude?
a. The memory referenced by newPtr is released only if it is needed by the system.
b. The pointer newPtr is of type void *.
c. The pointer newPtr only exists if there was an error freeing the memory.
d. The pointer newPtr still exists.
d. The pointer newPtr still exists.
Computer Science & Information Technology
You might also like to view...
Which of the following is NOT a Section Break option in the Breaks gallery?
A) Even Page B) Next Page C) Continuous D) Previous Page
Computer Science & Information Technology
How many times will the following loop print hello? i = 1; while (i <= 10) { cout <<"hello"; }
a. 0. b. 9. c. 10. d. An infinite number of times.
Computer Science & Information Technology