Skip to content

Instantly share code, notes, and snippets.

Working from home

Abhishek Kumar Gupta itrare

Working from home
  • India
View GitHub Profile
itrare / merge_sort_recursive.cpp
Last active Jul 5, 2020
This program merge two sorted arrays using recursion in c++ programming language.
View merge_sort_recursive.cpp
//program to merge two array using recursive function
#include "iostream"
#include "conio.h"
using namespace std;
void merge_r(int a1[],int a2[],int c[],int s1,int s2,int i=0,int j=0,int k=0){
if(i<s1 && j<s2){