I am extremely sorry sir..i never meant that u donot know it..
Thank u for guiding me..
n p indicates the starting position here means it points to 'G'
p[3] means it points to 4th position from 'G' means its 'e'
p[1] means it points to 1st position means its 'a'..
Individually i can get through here...but the arithmetics r what i am not reachable..
help me sir..