notes void merge(int [],int [],int [],int kint ptra= ,ptrb= ,ptrc= while(ptra< &ptrb<kif( [ptrab[ptrb] [ptrc]= [ptra]ptra++else [ptrc]= [ptrb]ptrb++ptrc++while(ptra<kc[ptrc]= [ptra]ptra++;ptrc++while(ptrb<kc[ptrc]= [ptrb]ptrb++ptrc++inputenter the elements of the first list outputthe elements of first list are inputenter the elements of the second list outputthe elements of second list are the sorted list is lovely professional university