Hi,
this code should check if the string is a palindrome or not. the problem is that it gives me "Is Not Palindrome" always even if it's a palindrome!!
what's wrong with my code? :!
I made a function that did the same thing a while back if you want me to find it and share it I can :)
If I remember right I just used a for loop that started at the end of the string and copied every element into a second string so the characters would be reversed. then i just used strcmp() to see if the two were identical. if they were, then it's a palindrome :)
yes I've done with the reverse part it works correctly but , am stuck in how to compare between the
two strings !! . because it always gives me "Is Not palindrome" :/