C
CBFalconer
.... snip ...Walter said:How do you arrive at that number? memcpy() does not define
the behaviour if the fields overlap. memmove() is the function
There is a from and a to parameter. They have restrict applied, so
they are different. Each points to a 42 byte area, which is either
examined or modified. 42 + 42 is roughly equal to 84. In base 10.
7.21.2.1 The memcpy function
Synopsis
[#1]
#include <string.h>
void *memcpy(void * restrict s1,
const void * restrict s2,
size_t n);
Description
[#2] The memcpy function copies n characters from the object
pointed to by s2 into the object pointed to by s1. If
copying takes place between objects that overlap, the
behavior is undefined.
Returns
[#3] The memcpy function returns the value of s1.
Please don't strip attributions for any material you quote.