标签:
1 #include <iostream> 2 using namespace std; 3 4 int main() 5 { 6 int *p,val=24; 7 p=&val; 8 cout<<*p<<endl; 9 *p=42; 10 cout<<val<<endl; 11 return 0; 12 }
exercises 2.18
原文地址:http://www.cnblogs.com/austuode/p/4420222.html