char c= "JOJO1993"; char *p =c; printf( "%s", p+p -p ) ;
this is a code snippet. p is a pointer and when it is used as *(p+3) means 4th character. but my question how can a char pointer can be used as pointer to first byte of any object ? can we use this example to explain this ? a little bit confused, can anyone clearify it. thanks in advance.