#include <stdio.h> #include <string.h> int main(void) { char str[] = "Hi, I'm odd!"; int exclamationCheck = 0; if(strchr(str, '!') != NULL) { exclamationCheck = 1; } printf("exclamationCheck = %d ", exclamationCheck); return 0; }