Multiple Choice
Any time you use the new operator, it is good practice to
A) use delete afterwards to free the memory allocated by new.
B) use a preprocessor directive.
C) clear the data from the old operator
D) All of the above
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: A function may return a pointer, but
Q15: An array name is a pointer constant
Q51: If Circle is a structure type, the
Q52: Memory cannot be allocated after a program
Q54: With pointer variables, you can _ manipulate
Q55: A _ keeps track of dynamically-allocated memory
Q57: The statement double *num;<br>A) defines a variable
Q59: The statement cout << *ptr; will output<br>A)
Q60: The statement int *ptr = new int;
Q61: A dangling pointer is a pointer<br>A) to