strcasecmp c

Solutions on MaxInterview for strcasecmp c by the best coders in the world

showing results for - "strcasecmp c"
Noemi
20 Feb 2020
1#include <strings.h>
2int strcasecmp(const char *f1, const char *f2);
3
4Return Values (CASE INSENSETIVE):
50 if both the strings are equal.
6< 1 if f1 is less than f2.
7> 1 if f1 is greater than f2.
Anna
22 Jan 2019
1Upon completion, strcasecmp() shall return an integer greater than, equal to, or less than 0, if the string pointed to by s1 is, ignoring case, greater than, equal to, or less than the string pointed to by s2, respectively.