以下代码的输出是什么?
1 int main() { 2 int a = 10; 3 int *p = &a; 4 int *&q = p; 5 *q = 20; 6 cout << a << endl; 7 return 0; 8 }
10
20
地址值
编译错误