

McqMate
Q. |
What happens when delete is used for a NULL pointer? int *ptr = NULL; delete ptr; |
A. | compile time error |
B. | run time error |
C. | no effect |
Answer» C. no effect |
View all MCQs in
Object Oriented Programming (OOP)No comments yet