Question: ReverseString C++PROGRAM : Write a function that accepts a pointer to a C-string as its argument. This function should reverse the string argument. Call the
ReverseString
C++PROGRAM : Write a function that accepts a pointer to a C-string as its argument. This function should reverse the string argument. Call the function from main and pass the same string the user entered for a), then print the contents of the reversed string. Note: This function makes any changes to the original argument that you pass to the function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
