BOOL 3StringsIdentical(char *s1,char *s2,char *s3)
{
if(strcmp(s1,s2)==0 && strcmp(s1,s3)==0)
return TRUE;
else
return FALSE;
}
Then just call:
BOOL TheyAreIdentical=3StringsIdentical("abc","abc","abc");
or
BOOL TheyAreIdentical=3StringsIdentical("abc","xxx","abc");