Question: Program in C++ please. Write a function that checks if given a string is a palindrome or not. (Note: String characters can be accessed by
Program in C++ please.
Write a function that checks if given a string is a palindrome or not. (Note: String characters can be accessed by using index numbers. i.e. if string str = Hello, then str[0] is H, str[1] is e, str[2] is l, . Hint: include
Function prototype is given below:
bool isPalindrome (string str);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
