1.

Is it fine to call delete twice for a pointer?#includeusing namespace std;int main(){ int *ptr = new int; delete ptr; delete ptr; return 0;}

A. Yes
B. No
C. none
D. all
Answer» C. none


Discussion

No Comment Found