Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save HQarroum/131d63cc114386b2b542f9023925a03e to your computer and use it in GitHub Desktop.
Save HQarroum/131d63cc114386b2b542f9023925a03e to your computer and use it in GitHub Desktop.
pointer-arithmetics-challenge-offset-calculation
size_t offset = offsetof(t_struct, member);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment