Question: Please, solve using c++ [Q.2] A word is called palindrome if reads the same backward as forward, for example: madam, level, and racecar. Write a

Please, solve using c++

Please, solve using c++ [Q.2] A word is called palindrome if reads

[Q.2] A word is called palindrome if reads the same backward as forward, for example: madam, level, and racecar. Write a program that reads a string as an input and prints out if that string is a palindrome or not. Your program should implement a function that takes only a pointer of char for that string and check whether it is a palindrome string or not. You are not allowed to use the string function length(), however, you can define your own length function instead. (Hint: you need to define another pointer and define the size of the string]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!