hi karri,
try this
Code:
# include<stdio.h>

main()
{
char *p;
  char buf[10] ={ 1,2,3,4,5,6,9,8};
   p = (buf)[5];
  printf("%d",p);

}
here we can say buf means first element and p = (buf)[5] means *(first element + 5)
Another thing i forgot to mention you is that array starts from 0 .
buf[0] = 1
buf[1] = 2
buf[2] = 3
buf[3] = 4
buf[4] = 5
buf[5] = 6
buf[6] =9
buf[7] = 8