C strchr function

C strchr function example

The C strchr function is a String Function, which returns a pointer to the first occurrence of a character in the given string. The syntax of the strchr in C Programming language is void *strchr(const char *str, const char *chr_to_look); str: A valid string chr_to_look: Character value that you want to search inside str strchr function in C Language … Read more