J
join
I went to solve a problem relate
to Palindrom
int isPalindrome(char *c)
returns back 1 if the string is a palindrome and returns back zero i
it is not a palindrome
but without using thr library from( string.h
who I can test my function that is the problem without using th
above library ?
the function is:
int isPalindrome(char c[]
int a, b
if (a >= b
return 1
else if (c[a] != c
return 0
els
return isPalindrome(c)
to Palindrom
int isPalindrome(char *c)
returns back 1 if the string is a palindrome and returns back zero i
it is not a palindrome
but without using thr library from( string.h
who I can test my function that is the problem without using th
above library ?
the function is:
int isPalindrome(char c[]
int a, b
if (a >= b
return 1
else if (c[a] != c
return 0
els
return isPalindrome(c)