// A megabyte set, then copied: a recording keeps the first 64 KiB of each // write. Exits with the last byte copied. #include static char from[1 << 20], to[1 << 20]; int main(void) { memset(from, 7, sizeof from); memcpy(to, from, sizeof to); return to[sizeof to - 1]; }