Program Name: Write a C Program for Merge Sort in Data Structures
Theory
Merge sort uses the divide and conquer approach to sort the elements. Merge sort
repeatedly breaks down a array into several sub- arrays until each array consists
of a single element and merging those sub- arrays in a manner that results into
a sorted array.
Program Code
Input:
Merge Sort
Enter Number of Elements: 5
Enter Array Elements: 5 2 9 7 1