There is no such function called strncmpi in C.

If you want to compare the strings with case sensitive.Then,you use strncmp function.


If you want to compare the strings ignoring case.Then,you use strncasecmp function which is similar to strncmp but ignores the case during comparison.