# include <iostream>
using namespace std;
int main()
{
char places[3][11]={"London", "Birmingham", "Glasgow"};
char *p;
cout<<places[2]<<endl;
p=places[0];
cout<<p<<endl;
cout<< &p[2]<< endl; <------
cout<< p[11]<< endl; <-------
return 0;
}
the output is the following
Glasgow
London
ndon
B
what i dont get is how the 3rd and 4th output line came about ??
and what does &p[2] do ....
and happens with the p[11]