Skip to content

Instantly share code, notes, and snippets.

@lorenmh
Created January 25, 2016 19:53
Show Gist options
  • Save lorenmh/6f079415ac9ad79be9a5 to your computer and use it in GitHub Desktop.
Save lorenmh/6f079415ac9ad79be9a5 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main() {
int a[4] = { 2, 4, 8, 16 };
int* b = (int *) a;
b++;
printf("%d", (* b));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment