C++ Why make new int is error ?? : Why my code error ?

    int *x ;
    x = new int[5];
    x[0] = 3;
    x[1] = 4;
    x[2] = 5;
    x[3] = 1;
    x[4] = 2;
    x[5] = 11;
    x[6] = 90;
    int *y ;
    y = new int[5];
    cout << "if no error, then this command should be run" << endl;

but the output is : 


Process exited after 0.07883 seconds with return value 3221226356

Press any key to continue . . .