Question: a. Write a recursive function that accepts a c-string (1 parameter only). The function should return a vector of characters in reverse order of
a. Write a recursive function that accepts a c-string (1 parameter only). The function should return a vector of characters in reverse order of how they appear in the c-string. (10 points) Example: Accept parameters c-string: hello Return vector with contents: o 11 e h
Step by Step Solution
There are 3 Steps involved in it
a Code include include using namespace std vector revchar str static vector n ... View full answer
Get step-by-step solutions from verified subject matter experts
