for some reason when I compare two exact strings, it returns a number other than zero. I am not sure why is it doing this.
Shown here:
printf("%s %s %d\n",target,temp->variableName,strcmp(temp->variableName, target));
Result:"B B 10" <- when I compare B with B it returns 10 even though it should return 0.
Could someone tell me how come it is doing this and what can I do to solve this?