1 #include <string.h> 2 #include <stdio.h> 3 4 #include "test_helpers.h" 5 6 int main(void) { 7 printf("%s\n", strchr("hello", 'e')); // should be ello 8 printf("%s\n", strchr("world", 'l')); // should be ld 9 printf("%i\n", strchr("world", 0) == NULL); // should be 1 10 } 11