Question: creating a function that checks palidromes and that will return true if a string Z of length X >= to 0 is a palidrome and
creating a function that checks palidromes and that will return true if a string Z of length X >= to 0 is a palidrome and false other wise. Empty string is a pali and a string with single characters is also a pali
bool is_pal(const char *Z, int X);
C++ and no libaries other than iosstream
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
