Parameters
Exercise 1.13
State the cost of instructions (1), (2) and (3) in the following program.
int funcion1 (vector<int>& v) { return v[0]; }
int funcion2 (vector<int> v) { return v[0]; }
int f(int n) {
<int> v(n, 33); // (1)
vectorint a = funcion1(v); // (2)
int b = funcion2(v); // (3)
return a + b;
}