True/False
Is it fine to call delete twice for a pointer?#include<iostream> using namespace std;int main(){int *ptr = new int; delete ptr;delete ptr; return 0;}
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: Which of the following is true?<br>A)all objects
Q3: Which of the following approach is adopted
Q4: How many objects can be created from
Q5: C++ was originally developed by ….......<br>A)donald knuth<br>B)bjarne
Q6: Which of the following is true about
Q8: If particular software can be used in
Q9: The main intention of using inheritance is
Q10: Which of the followings is/are automatically added
Q11: Which of the following data type does
Q12: Which of the following statements is correct