Main Page
Namespaces
Classes
Files
File List
File Members
lisp
tool
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
main()
Definition:
structsize.c:5
a
struct @17 a
l
long l
Definition:
structsize.c:3
s
short s
Definition:
structsize.c:2
euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 6 2019 20:00:44