Copyright © tutorialspoint.com
Synopsis:
Description:The strchr function searches string for the first occurrence of c. The null character terminating string is included in the search. Return ValueThe strchr function returns a pointer to the first occurrence of character c in string or a null pointer if no matching character is found. Example
It will proiduce following result:
|
Copyright © tutorialspoint.com