C Programming Language

strchr()

Syntax:
#include<string.h>
char *strchr( const char *str, int ch );

                    strchr(str,ch)  finds ch in str. Returns a pointer to the first occurrence of the character ch in str, if ch does not occur in str ,strchr returns NULL.           

Example:

strchr() function  
strncmpi() Home strnicmp()

c program stats