Skip to content

Instantly share code, notes, and snippets.

@shumon84
Last active September 4, 2017 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shumon84/2c01e4021e869d8da1cc6b0fa7317ad5 to your computer and use it in GitHub Desktop.
Save shumon84/2c01e4021e869d8da1cc6b0fa7317ad5 to your computer and use it in GitHub Desktop.
#include<stdio.h>
int main(void)
{
printf("sizeof(struct hoge) = %lu byte\n",sizeof(struct{short a;int b;}));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment