#include <iostream>
using namespace std;
int GlobaArg= 0;
int * fun1 ()
{
return &GlobaArg;
}
int *fun2(int *ptr)
{
return ptr;
}
{
*fun1() = 10;
cout<< GlobaArg <<'\n';
int TestTmp= 3;
*fun2(&TestTmp) = 5;
cout << TestTmp << '\n';
system("pause");
return ;
}