summaryrefslogtreecommitdiff
path: root/05/main.c
blob: 3e43bf891e56fdef8d4a1e68392e42b3a4e673c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
static char x = -2;

typedef struct {
	int x;
	char y;
	int z;
} Structure;


long main(int argc, char **argv) {
Structure s[] = {3, 5, -88,6,9,12};
	Structure *ps = s;
	int *p = &ps->z;
	return *p;
}