1.

Consider the following iterative code snippet to find the largest element:Which of the following lines should be inserted to complete the below code?

A. arr[i] > max_element
B. arr[i] < max_element
C. arr[i] == max_element
D. none of the mentioned
Answer» B. arr[i] < max_element


Discussion

No Comment Found