C program to add two single dimensional array

C program to add two single dimensional array

Output:

Enter the size of the arrays:
5
Enter the elements of array 1:
1 2 3 4 5
Enter the elements of array 2:
5 4 3 2 1
The resultant array is:
6 6 6 6 6

Implementation: