Please look into this inexplicable behavior and output of memcpy() for overlapping memory blocks
问题 After reading the following about memcpy() , I proceeded to read about memmove() : To avoid overflows, the size of the arrays pointed by both the destination and source parameters, shall be at least num bytes, and should not overlap (for overlapping memory blocks, memmove is a safer approach). (LINK) And after checking the program used to illustrate the working of memmove() I decided to tweak it by using memcpy() instead to see how different is the output.To my surprise,they are the same even