Question: Please help me with C + + , studio h , with the same output. Write a program to reverse an array using pointers. The
Please help me with C studio h with the same output.
Write a program to reverse an array using pointers. The program should take input for array elements from user. Program should work for both even and odd number of total array elements. Hint: Use two pointers for this code. Initially the first pointer points to first element of array and second pointer points to last element of array.
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
