#include <stdio.h>
#include <stddef.h>
Go to the source code of this file.
|
| struct { |
| int i |
| |
| char c |
| |
| double d |
| |
| char x |
| |
| } | icdx |
| |
| struct { |
| char c |
| |
| double d |
| |
| char x |
| |
| int i |
| |
| } | cdxi |
| |
| struct { |
| char c |
| |
| char x |
| |
| int i |
| |
| double d |
| |
| } | cxid |
| |
| struct { |
| char x |
| |
| double d |
| |
| char c |
| |
| double y |
| |
| } | xdcy |
| |
| struct { |
| double d |
| |
| double y |
| |
| char c |
| |
| char x |
| |
| } | dycx |
| |
Definition at line 10 of file ex4_struct.c.
12 printf(
"icdx=%lu\n",
sizeof(
icdx));
13 printf(
"cdxi=%lu\n",
sizeof(
cdxi));
14 printf(
"cxid=%lu\n",
sizeof(
cxid));
15 printf(
"xdcy=%lu\n",
sizeof(
xdcy));
16 printf(
"dycx=%lu\n",
sizeof(
dycx));