Hi ,
what is the difference between p+1 and &p+1 from below program. I understand that p+1 increase to next value and &p+1 points to value after sizeof(p).
my question the value of p and &p are same. But why final value comes to differ?
Code:int main() { char *p[]={"hai","howareyou"}; printf ("%d\n",p+1); printf ("%d\n",&p+1); return 0; }