C Programming Language

strnicmp()

Syntax:
#include<string.h>
int strnicmp( char *str1, char *str2 ,int n);

                   strnicmp(str1,str2,n) compares at most n characters of str2 to str1,lexicographically,by ignoring case. Returns a negative value if str1<str2; 0 if str1 and str2 are identical; and positive value if str1>str2.

Example:

strnicmp() function  
strchr() Home strstr()

c program stats