What is the value of the variable answer after the call to the function fun1 in the code below?
1 2 3 4 5 6 7 8 9 10 11 12
int main()
{
int num1 = 1, num2 = 2, num3 = 3, num4 = 4, num5 = 5;
int answer;
answer = fun1(num2, num3, num4);
cout << answer;
}
int fun1(int a, int b, int c, int d, int x)
{
return (a + b + c + d + x);
}