How the memory alignment is enforced or implemented in the OS ?
Anonymous
It ain't (enforced by the OS)! It is hardware-triggered; the OS will simply generate a SIGBUS to let the application know.
Check out your Company Bowl for anonymous work chats.