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