Trivial C, C++ Programs.

Tag Archives: Merge Sort

Merge Sort in C++

Been a while since I posted some code here, this one I’m posting to help a junior from NSIT out.   #include <iostream.h>     int *Arr, maxSize;   void createArr() { cout<<"\n\n Enter the maximum size of array : "; cin>>maxSize; Arr = new int[maxSize]; }   void fillArr() { cout<<"\n\n Enter the elements [...]