hi, im using strcmp to compare a character pointer char *cptr with a character array
char text[100] using if(strcmp(cptr, text)==0) printf("%s", cptr);
my debugger shows this....
cptr = 0x0012F028 "orange" char*
text "orange" char[]
the result of strcmp(cptr, text)==0 will always be false... why?