#include<iostream>
using namespace std;
int main()
{
int *arr ;
arr = new int[10];
for(int i=0;i<10;i++)
arr[i] = i;
delete arr;
for(int i=1 ; i<10;i++)
cout<<arr[i];
}
I was expecting a answer "123456789", but the answer was "023456789"