strchr – POFTUT

Tagged: strchr

0

strchr – Find Character In A String C and C++ Tutorial with Examples

C library provides a lot of functions in order to use string or char array types. strchr() function is a very popular function which is used to find the first occurrence of a given character in a string or char array. Syntax and Parameters As strchr() provides the first occurrence of the given char it will return a pointer to the first occurrence.  We will also provide the string or char...

Enjoy this blog? Please spread the word :)