Check if string is palindrome or not | C++ code

Published --