#include <iostream>
using namespace std;
void function(int* i)
{
*i=5;
}
int main()
{
int a=2;
int *b=&a;
function(b);
cout<<*b;
return 1;
}