摘要:
1、指针作为参数传递进去的仅仅只是指针的值,而不是指针的地址,或者说只是指针的一份拷贝,例如:void pointer(int *p){ int a = 11; printf("\nthe p is %p , addr is %d, *p is %d",p , &p, *p); *p =11; printf("\nthe p is %p , addr is %d, *p is %d",p , &p, *p); p = &a; printf("\nthe p is %p , addr is %d, *p is %d&quo 阅读全文