structsize.c
Go to the documentation of this file.
1 struct {
2  short s;
3  long l;} a;
4 
5 main()
6 { int s;
7  s=sizeof(a);
8  printf("sizeof(struct short + long)= %d\n",s);
9  if (s==6) printf("type Sun3\n");
10  else printf("type Sun4\n");}
11 
12 
main()
Definition: structsize.c:5
struct @17 a
long l
Definition: structsize.c:3
short s
Definition: structsize.c:2


euslisp
Author(s): Toshihiro Matsui
autogenerated on Mon Feb 28 2022 22:18:28