Question: C++ Coding: 11.2 LAB: Reverse String and c-string Write a function that has the following prototype char* reverse (char arr ], const int size); //returns
C++ Coding:
![has the following prototype char* reverse (char arr ], const int size);](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4eec54c186_94066f4eec4e1e8d.jpg)
11.2 LAB: Reverse String and c-string Write a function that has the following prototype char* reverse (char arr ], const int size); //returns the reverse of arr void print (char arr ], const int size); In main call print, reverse, print, reverse on Gravity to get this output Gravity ytivarG Gravity #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
