Question: white a C++ program to assign the array of four pointers with four input words. Complete the function exchange( ) so that the words of
white a C++ program to assign the array of four pointers with four input words. Complete the function exchange( ) so that the words of odd pointers are exchanged. Note that the index starts from 0.
e.g.
input : One Two Three Four
output : One Four Three Two
Step by Step Solution
3.46 Rating (149 Votes )
There are 3 Steps involved in it
To solve this problem you need to write a C program which declares an array of four pointers that po... View full answer
Get step-by-step solutions from verified subject matter experts
