#include#includeint strSearch(char *str[], char *a){ int find=0,i; for(i=0;i<2;i++) if(strcmp(str[i],a)==0) {find=1;break;} return find;}int main(){ char *str[]={"search","abc"}; printf("%d\n",strSearch(str, "abc")); return 0;}