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 
l
long l
Definition: structsize.c:3
s
short s
Definition: structsize.c:2
a
struct @17 a
main
main()
Definition: structsize.c:5


euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 15 2023 02:06:43