Write a C program to input elements in two array and merge two array to third array. How to merge two array in C programming. Logic to merge two sorted array to third array in C program.
Example
Input
Input first array elements: 1, 4, 6, 9, 15 Input second array elements: 2, 5, 8, 10
Output
Merged array in ascending order = 1, 2, 4, 5, 6, 8, 9, 10, 15