This function compares two arrays of unsigned char, str1 and str2, to find differences between them. If all elements are equal, memcmp returns 0.
Where a difference occurs, if the element of str1 is greater than that of str2, memcmp returns a positive value. If the element of str1 is less than that of str2, memcmp returns a negative value.
Both arrays must be of size n.