Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View itrare's full-sized avatar
🚀
Working from home

Abhishek Kumar Gupta itrare

🚀
Working from home
  • India
View GitHub Profile
@itrare
itrare / merge_sort_recursive.cpp
Last active July 5, 2020 17:33
This program merge two sorted arrays using recursion in c++ programming language.
//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){
if(a1[i]>a2[j]){