We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 3
// Prerna 1902920100061 /;
/{ UNION OF TWO ARRAYS //
#include
int mainQ
int a1[20],a2[20],u[40],ij,.kn,m;
pov M amr ROS ele lee NAH
Rroev a1 G0 Tecan) H
poe Ma mutes ele lee hMUEba eels
(oyac(selv WH
12 Fivutt neo iaa ee
a} scanf("%d",&a1[i});
t
printf("\nEnter size of second array:");
17 rer bul Gace att)
18] printf("Enter elements of second array in ascending
order:\n");
19 SieaCE ses ibaae De
20 scanf("%d",&a2[i});
li
for(i=0,j=0,k=0;icn&&ja2[j]){
30 ea PANIH
ey ar
EV Vea
33 }
ere kta e
35 ulk}=a1 [i];
36 boa
EY ar
38 Day
39 }
40 a
vuepuiecan ht
forGi