Skip to content

Instantly share code, notes, and snippets.

@TheBuzzSaw
Created January 13, 2012 03:13
Show Gist options
  • Save TheBuzzSaw/1604384 to your computer and use it in GitHub Desktop.
Save TheBuzzSaw/1604384 to your computer and use it in GitHub Desktop.
weird pointer stuffz
int main(int argc, char** argv)
{
int stuff[] = { 1, 2, 3, 4, 5 };
int (*p)[5] = &stuff;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment