You are on page 1of 1

1 #include<iostream>

2 using namespace std;

3 int main()

5 int n1 ,n2;

6 cout Enter no. of elements in array 1

7 cin>>nl ;

8 int arrl [n1 ] ,arr2[n2] ;

Learn Python

9 cout<<"\n Enter no. of elements in array 2

10 cin>>n2;

1 1 cout Enter elements in array 1

12 for (int ; i++)

13 cin>>arrl [i] ;

14 cout<<"\n Enter elements in array 2

15 for (int j=0;j<n2;j++)

16 cin>>arr2[j] ;

int arr3[n1+n2]

You might also like