Home / Engineering / CPP Programming / Question
M
Q.) 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;
}
Related MCQs on CPP Programming
Q. …………….. is used to determine whether of a table contains duplicate rows.
Q. Which of the following is true of a network structure?
Q. A subset of a network that includes all the routers but contains no loops is called ________
Q. The adjusted multiple coefficient of determination accounts for
Q. Which of the following is a complementary approach to function-oriented approach?
Q. Scaling Characteristics of Parallel Programs Ts is
Q. The term GIGO is relate to which characteristics of computers?
Discusssion
Login to discuss.