Question: Part II - Reverse String and c-string . (1 5 pts) Create a lab10b.cpp. Write a function that accepts a pointer to a character (char
Part II -Reverse String and c-string. (15 pts)
Example code segment:
#include
using namespace std;
string input;
char* cstring;
cin >> input;
cstring = input.c_str();
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
