There is a defined method for comparing such pointers. Take unsigned char pointers to them and inspect their bytes. Then write your code, using that information, that does the comparison, assuming you know your architecture.
It is defined behavior to read the bytes of any object using unsigned char.
It is defined behavior to read the bytes of any object using unsigned char.