Online C Compiler

#include<stdio.h> #include<string.h> int main() { char s[] = "Helloworld!"; char c = 'o'; char *result = strchr(s, c); printf("String after searching the character : %s", result); return 0; }