Q53
MCQ2 marks, −0.5Consider the following C-function in which and are two sorted integer arrays and be another integer array, void xyz(int a[], int b [], int c []){ int i,j,k; i=j=k=0; while ((i<n) && (j<m)) if (a[i] < b[j]) c[k++] = a[i++]; else c[k++] = b[j++]; } Which of the following condition(s) hold(s) after the termination of the while loop? only (i) only (ii) either (i) or (ii) but not both neither (i) nor (ii)
Sign in to save attempts.
Loading…