#include "stdafx.h"
#include "iostream"
using namespace std;
int main()
{
int n = 44;
cout <<"n is:"<<endl<< n << endl << &n << endl;
int* p = &n;
cout <<"p is:"<<endl<< p << endl << &p << endl << *p<<endl;
int** k = &p;
cout << "k is:" << endl << k << endl << &k << endl << *k << endl << **k << endl;
system("pause");
return 0;
}
- ۹۷/۰۱/۱۹