First page Back Continue Last page Graphics
Given the following, What would print?
- #include <iostream>
- using namespace std;
- int fun1(int, int &);
- int main ( void )
- { int local_i(2), local_k(4);
- local_i++;
- local_k+=3;
- cout << fun1(local_i, local_k) << endl;
- cout << local_k << endl; } // end of main
- int fun1(int a, int & b)
- { a++;
- b+=4;
- return ( a + b );
- }
-