#include<iostream>
#include<iomanip>
int main()
{
using namespace std;
int name[]={1,2,3,4,5,6,7};
int *p=name;
int i=3;
cout<<"name[i]="<<name[i]<<endl;
cout<<"*(p+i)="<<*(p+i)<<endl;
cout<<"*(name+i)="<<*(name+i)<<endl;
}