i can write a palindrome pro but i dont to write using recursive function can any body help
and to check whether a palindrome can fotmed from a given string?
j=0,k=0;
while((j<strlen(str)-1)/2)
{
if(str[j]!=str[strlen(str)-1-j])
{
k=1;
break;
}
j++;
}
if(k==0)
printf("palindrome")
else
printf(not a palindrome");
pavani2006 0 Newbie Poster
Aia 1,977 Nearly a Posting Maven
thekashyap 193 Practically a Posting Shark
Aia 1,977 Nearly a Posting Maven
pavani2006 0 Newbie Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.