Searching for a character within a string
The function strchr() searches the occurrence of a specified character in the given string and returns the pointer to it.
C strchr() Function
char *strchr(const char *str, int ch)
str – The string in which the character is searched.ch – The characte...
kaustubhk.hashnode.dev2 min read