how to check if a,b and c in a string code example Example: check if string in string c if(strstr(sent, word) != NULL) { /* ... */ }