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
1.7k
0
Do you find this helpful?
14

Discussion

No comments yet

Related MCQs