Question: C programming Write a program to take input for two arrays. First array with m elements and the second array with n elements and add

 C programming Write a program to take input for two arrays.

C programming

Write a program to take input for two arrays. First array with m elements and the second array with n elements and add both array elements and display the merged array. Input format The first line of the input consists of m and n that represents the size of first and second array. Next input is the first array elements. Next input is the second array elements. Output format The output prints the merged array. Sample testcases Input 1 Output 1 3 5 54 45 42 40 50 44 25 12 10 20 30 40 50 Input 2 Output 2 5 3 54 45 42 40 50 10 20 30 40 50 1 2 1 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!