#include using namespace std ; //Pass by reference instead of pass by value //Advantages of pass by reference //-------------------------------------------------------------------- void func1( int& param1 ) { param1 = 200 ; } //--------------------------------------------------------------------i int main() { int local1 = 100 ; func1( local1 ) ; cout << local1 << endl ; return(0) ; } //--------------------------------------------------------------------