strchr function in C/CPP with its applications
The strchr function finds the first occurrence of c (converted to a char) in the string pointed to by s. The terminating null character is also considered to be part of the string and it can be found if searching for ‘\0’. The strchr function defines in string.h header file and takes two arguments. Syntax […]
strchr function in C/CPP with its applications Read More »