#include "stdafx.h"
#include
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int *p,*q;
p = new int[10];
p[0] = 2;
p[1] = 1;
cout << "********"<< endl;
q = p+1;
cout << *q <<endl;
delete []q; //为何删除时出现bug,if:q=p,things will be all right?
return 0;
}