Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In C language
,the function wcscmp is included in header file , wchar.h. The functions
wcsncmp ,wcscmp , strncmp , strcmp are used to compare strings. Function
wcsncmp, is similar to strncmp() , which is used to compare two
fixed-size wide-character strings. it looks similar to strncmp() .This
function is used to handle wide character strings. The wcsncmp()
function is the wide-character equivalent of the strncmp() function. The
function wcsncmp is similar to wcscmp ,but it compares only first n
characters.Wcsncmp is the standard library function used to compare two
wide character strings. The function is similar to standard library
function strcmp. But the comparison is not like strcmp. The first
difference is that the function wcsncmp compares the two strings upto
some limit(at most n character) i.e size_t n but strcmp compares the
strings till '\0' occures. and the second is that it handles wide
characters as mentioned. It compares the wide-character string pointed
to by say a and the wide character string pointed to by say b, but at
most n wide characters from each string.