Skip to content

Instantly share code, notes, and snippets.

@PsySc0rpi0n
Created May 29, 2016 10:07
Show Gist options
  • Save PsySc0rpi0n/4f01307573f277fa67f18b5d38241b77 to your computer and use it in GitHub Desktop.
Save PsySc0rpi0n/4f01307573f277fa67f18b5d38241b77 to your computer and use it in GitHub Desktop.
Discussing a possible issue
int buffer[20];
int *pbuffer = buffer;
for(int i=0; i<sizeof(buffer); i++) {
*(pbuffer++) = 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment