void f(double &r) { // ... r = ...something... ; } void g() { int n; // ... f(n); // ... } // End of File