Program to explain 1-D array implementing new and delete operator.
Here we are introducing two special operators in 1-dimensional array. They are new and delete. Here new is used to allocate space for an object. Delete is used for freeing the space which was previously allocated by new operator.
Answer the Question