C program to reverse the array elements without using 2nd array

 

Sample Input
Enter number of elements to be entered to the array: 5
Enter 5 number of elements into array arr1 2 3 4 5
Sample Output
Resultant array after reversal : 5 4 3 2 1

You may also like...