C Determine whether the elements in the two structures are exactly the same
understanding:
In C, the structure can use = to assign a structure, but you cannot use == to judge two structures;
here the memcmp() function is used, the return value is int, and
its function is to combine the storage area buf1 and storage area buf2. The first n bytes are compared. This function compares in bytes, and size writes the length of the structure