Loading practice questions
Which line should be inserted to complete the above code?
Correct Answer: D — (cur_max = tmp_max)
Explanation:
If the tmp_max element is greater than the cur_max element, we make cur_max equal to tmp_max, i.e. (cur_max = tmp_max).