#include <stdio.h> #include <string.h> int main(void) { char s[11]; int i; char *p=s; printf("%p (p)==%p (s)\n",p,s); printf("%p (&p)!=%p (&s)\n",&p,&s); scanf("%s",s); for(i=0;i<strlen(s);i++) printf("%c",*(p+i)); return 0; }