#include<iostream>
usingnamespace std;
#include<string>
int add(int i, int y){
int b;
b=i+y;
return b;
}
void duplicate (int& a, int& b, int& c)
{
a*=2;
b*=2;
c*=2;
}
int main ()
{
int x=5, y=7, z=5;
cout<< add(x, y)<<endl; // passing by value //value will be a copy of x in
cout<<duplicate(x, y, z)<<endl;
return 0;
}