{
int end = strlen(str)-1;
for (int i = 0; i <>
if (*(str+i) != *(str+end))
return false;
return true;
}
Deleting all your perforce workspaces
12 years ago
Search BhaiVisitors |
Find out if a string is a palindrome?
bool Palindrome(char *str)
{ |
Categories
Blog Archive
Rent A Coder |