>>418
printf("p = %s\n", p ?p: "<NULL>"); の間違いか?