Which of the following lines completes the above code?
arr[i] = arr[j] * arr[k];
arr[j] += arr[i] * arr[k];
arr[i] += arr[j] * arr[k].
arr[j] = arr[i] * arr[k];
View Answer
Correct Answer: C — arr[i] += arr[j] * arr[k].
Explanation:
The line arr[i] += arr[j] * arr[k] reflects the recursive formula (Cn = \sumCi*C(n-i)).
