Consider the C function given below. Assume that the array listA contains n (> 0) elements, sorted in ascending order. int ProcessArray(int *listA, int x, int n) int i, j, k; i = 0; j = n-1; do k = (i+j)/2; if (x Which one of the following statements about the function ProcessArray is CORRECT?
Topic-wise GATE CS PYQs with verified steps
