Program to check whether the string is palindrome or not by vidio and its output in c++
Answers
Answered by
1
answer available on YouTube
Answered by
0
How do you check if a string is a palindrome C++ recursion?
Algorithm for Recursive Palindrome Check
Call the function “palindrome_check” from the main body.
If the length of the string is 1, return True.
Else, compare the first and last characters and check them. See also. ...
If both char are the same then apply recursion to the remaining sub-string.
Else return False;
Similar questions