Question: reverse.cpp: In function 'void displayBackwards ( std::string ) ' : reverse.cpp: 2 0 : 3 1 : error: 'pos' was not declared in this scope
reverse.cpp: In function 'void displayBackwardsstd::string:
reverse.cpp::: error: 'pos' was not declared in this scope
displayBackwardsssubstrposlen;returns the substring of s s o
length len staring at poston pos zero is frist postion
jhuang@hills $ nano reverse.cpp
GNU nano
reverse.cpp
#includes Dof length len staring poston pos frist postion
size;
base case
cout
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
