structsize.c
Go to the documentation of this file.
00001 struct {
00002   short s;
00003   long  l;} a;
00004 
00005 main()
00006 { int s;
00007   s=sizeof(a);
00008   printf("sizeof(struct short + long)= %d\n",s);
00009   if (s==6) printf("type Sun3\n");
00010   else printf("type Sun4\n");}
00011 
00012 


euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Sep 3 2015 10:36:20