Skip to content

Instantly share code, notes, and snippets.

@ranha
Created November 23, 2011 11:53
Show Gist options
  • Save ranha/1388504 to your computer and use it in GitHub Desktop.
Save ranha/1388504 to your computer and use it in GitHub Desktop.
#include <stdio.h>
struct T {
struct S {
int s;
} s;
};
int main()
{
struct S s;
printf("%p\n",(void*)&s.s);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment