strchr – POFTUT

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 … Read more