hey guys , this is the strchr function , i was wondering what does that return at the end of the code do ? i can't really understand it , what does the '?' sign do ?
Code:#include <string.h> /* strchr */ char *(strchr)(const char *s, int c) { while (*s != '\0' && *s != (char)c) s++; return ( (*s == c) ? (char *) s : NULL ); }