指针类型是什么
#include <iostream> using namespace std; int main() { int a = 10; int *p = &a; int *&q = p; *q = 20; cout << a << endl; return 0; }
#include <iostream> using namespace std; int main() { int a = 10; int *p = &a; int *&q = p; *q = 20; cout << a << endl; return 0; }
2020-03-18
举报