← Questions
Implement memcpy with misaligned addresses
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Write memcpy: copy n bytes from a source address to a destination address. Copying one byte at a time is slow, so copy in machine words, and handle source and destination pointers that are not aligned to a word boundary (and not aligned the same way as each other). Discuss what happens when the regions overlap.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
