#include using namespace std ; //Using references to let a function be a l value //-------------------------------------------------------------------- int global1 ; int& func1( ) { return global1 ; } //-------------------------------------------------------------------- int main() { global1 = 100 ; func1() = 200 ; cout << global1 << endl ; return(0) ; }