#include<iostream>
using namespace std;
void main()
{
char *p="ABCD";
char **pp=&p;
char y[]="ABCD";
char *t;
t=y;
//t=&y;
char b='s';
char *s=&b;
int a=5;
int *q=&a;
cout<<"p:"<<p<<endl;
cout<<"t:"<<t<<endl;
cout<<"y:"<<y<<endl;
cout<<"y:"<<&y<<endl;
cout<<"&t:"<<&t<<endl;
cout<<"p+1:"<<p+1<<endl;
cout<<"*p:"<<*p<<endl;
cout<<"p[0]:"<<p[0]<<endl;
cout<<"&p[0]:"<<&p[0]<<endl;
cout<<"&*p:"<<&*p<<endl;
cout<<"q:"<<q<<endl;
cout<<"*pp:"<<*pp<<endl;
cout<<"b:"<<b<<endl;
cout<<"s:"<<s<<endl;
system("pause");
}