I am trying to write 4 bytes at a time to a character buffer using a integer pointer (So that I can access 4 memory locations at a time). But I am getting a segmentation fault.I am trying to write 4 bytes at a time to a cha
I am trying to write 4 bytes at a time to a character buffer using a integer pointer (So that I can access 4 memory locations at a time). But I am getting a segmentation fault.I am trying to write 4 bytes at a time to a cha