1 | #include <stdio.h> |
---|---|
2 | |
3 | struct contained |
4 | { |
5 | int first; |
6 | int second; |
7 | }; |
8 | |
9 | struct container |
10 | { |
11 | int scalar; |
12 | struct contained *pointer; |
13 | }; |
14 | |
15 | int main () |
16 | { |
17 | struct container mine = {.scalar: 1, .pointer: 0}; |
18 | printf (format: "Mine's scalar is the only thing that is good: %d.\n", mine.scalar); // Set break point at this line. |
19 | return 0; |
20 | } |
21 | |
22 |