*p和*&p 有什么区别?
#include<stdio.h> #include<iostream> using namespace std; int main(void) { int a=10; int *p=&a; int *&q = p; cout << "p的按地址求值"<<*&p<< endl; cout << "p的直接求值" << *p << endl; cout << "p的地址的值的值" << **&p << endl; system("pause"); return 0; }