Suppose X,Y,Z are arrays of integer of size M,N and M+N respectively.The numbers in array X and Y are stored in descending order.Write a user defined function MERGE() in C++ to produce third array Z by merging arrays X and Y in descending orders.The function MERGE() will take arrays X and Y as arguments with their size M and N respectively.
Comments
Leave a comment