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

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!