Guest_imported
New member
- Jan 1, 1970
- 0
Hi everyone, I'm a bu student in need of some help. I came in with no programming experience and I just got overloaded. Could you please help me make this palidrome fuction which states whether a certain string is a palindrome or not.
The fuction must have the prototype
bool palindrome(const char*)
I'm guessing you can use pointers to the addresses of the char in the array and then reaarange them in order of highest to lowest valued adress. Theen see if they're the same. Not sure. Please help!
The fuction must have the prototype
bool palindrome(const char*)
I'm guessing you can use pointers to the addresses of the char in the array and then reaarange them in order of highest to lowest valued adress. Theen see if they're the same. Not sure. Please help!