int f(int x) { return x*2 - 1; } int h() { int a = 3; int b = f(a) + f(4); return b; }
Answers
Answered by
6
b value will be 3 +4=7 and it will return the value
Answered by
1
Answer:
12
Explanation:
int b = f(a) + f(4)
f(a) = > f(3) = 3*2 - 1 = 5
f(4) => f(4) = 4*2 - 1 = 7
int b = 5 + 7 = 12
return b
Similar questions