算法訓練 加法運算(指針的一個測試)

算法訓練 加法運算(指針的一個測試) #include <iostream> using namespace std; int* GetTwoInts(){ int a; cin >> a; cin >> *(&a+1);//使用緊接在a後面未分配的地址 cout << a << ' ' << *(&a+1) << endl; cout << &a << endl; int *b =
相關文章
相關標籤/搜索