Write a C++ program to create an array by using new keyword , insert elements, multiply all elements and display result &use delete keyword to destroy array code example
Example: c++ delet from memory
// Delete pointer
int* ptr1 = new int;
delete ptr1;
// Delete array
int* array = new int[10];
delete[] array;