What is the strchr function?
This is a discussion on what is strchr func within the C Programming forums, part of the General Programming Boards category; What is the strchr function?...
What is the strchr function?
RTFM
strchr()
(strrchr()) Returns a pointer to the first (last) occurrence of character c in string s, or a null pointer if c does not occur in the string. The null byte terminating a string is considered to be part of the string.
Thank you.I am using it with \n to strip it off.
ur info helped me a lot.