Write a c program to find the median of a merged sorted Array by using pointer and function.
Вставка
- Опубліковано 18 жов 2024
- Write a c program to find the median of a merged sorted Array by using pointer and function.
input as : Enter the size of 1st array : 2
Enter two element :1 3
Enter the size of 2nd array : 1
Enter one element :2
After sorting Array is :1 2 3
Median is : 2
input as : Enter the size of 1st array : 2
Enter two element :1 4
Enter the size of 2nd array : 2
Enter two element :2 3
After sorting Array is :1 2 3 4
Median is : 2.5