void TestStrPBrk(void) { char *s1 = "abcdef"; char *s2 = "cxyz"; char *cp; cp = StrPBrk(s1, s2); if(cp == NULL) printf("'%s'に'%s'のいずれの文字も含まれない.\n", s1, s2); else printf("'%s'の%d文字目は'%s'の中のいずれかの文字である。\n", s1, cp - s1 + 1, s2); }