By Option Elimination
Take Array Contents
a={1} b={2} so n=1,m=1
Now A is small so it will copy to C then terminate in next iteration cz i<n no more holds So content of variables after while loop
c={1} , i=1,j=0,k=1,n=1,m=1
Check Condition i :->> (i==n) Yes. j<m holds but k=n+j-1 does not hold ,So Condition i is false.
Now Take Array Contents
a={2} b={1} so n=1,m=1
Now B is small so it will copy to C then terminate in next iteration cz j<m no more holds So content of variables after while loop
c={1} , i=0,j=1,k=1,n=1,m=1
Check Condition ii :->> (j==m) Yes. i<n holds but k=m+i-1 does not hold ,So Condition ii is false.
Neither condition holds Hence Option D is correct Ans.