Question: Hard Write a C program that do the following: Declare two integer arrays each of size 5 . Input the elements of the arrays from
Hard
Write a C program that do the following:
Declare two integer arrays each of size
Input the elements of the arrays from the keyboard.
Swap the two arrays swap the value of the first element in the first array array with the last element of the second array array and so on
The sample output is:
Enter second array elements :
enter element :
enter element :
enter element :
enter element :
enter element :
tabletablearray:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
