Riferimento2.cpp

# include <iostream>
using namespace std;

int somma(int& , int& );

void main(){

int a, b, res;
a = 5;
b = 10;
res = somma(a,b);
cout << a << ", " << b << ", " << res << endl;

}

int somma (int& x, int& y) {

x=x+y;
return (x); 

}