Program compiles fine. Does not make the correct decisions for palindrome determination. Show me the path to coding goodness;
Entire code here.
Suspect code here:
Code:while(flag && ptr)
{
if(!strcmp(&temp[index], &ptr->letter))
flag=false;
ptr=ptr->next;
index++;
}