if(arr [index_first]<arr [index_second]arr [indexarr [index_first]index_first++else arr [indexarr [index_second]index_second++index++/if elements of the first array are over and the second array has some elements if(index_first = while(index_second< arr [indexarr [index_second]index_second++index++/if elements of the second array are over and the first array has some elements else if(index_second = while(index_first< arr [indexarr [index_first]index_first++index++printf("\ \ the merged array is")for( = ; < ; ++printf("\ arr[% % "iarr [ ])getch()return output enter the number of elements in array enter the elements of the first array arr [ arr [ arr [ enter the number of elements in array enter the elements of the second array arr [ arr [ arr [ the merged array is arr[ arr[ arr[ arr[ arr[ arr[