Question: Using C++ Write a function which will determine if one string is * the reverse of the other. * Example * S1 = abcd *
Using C++
Write a function which will determine if one string is * the reverse of the other. * Example * S1 = "abcd" * S2 = "dsda" * Answer = false * * Example: * S1 = "abedefg" * S2 = "gfedcba" * Answer = true */bool Question04(std::string S1, std::string S2) {bool answer; return answer;}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
