int data[5]={1};

int &fun(int i)
{

return data[i];
}
int main()
{
cout<<"data[2]"<<data[2]<<endl;
fun(2)=10;
cout<<"data[2]"<<data[2]<<endl;
return 0;
}