1 #include <stdio.h>
2
3 struct foo
4 {
5 int first;
6 int second;
7 };
8
main()9 int main ()
10 {
11 struct foo mine = {0x001122AA, 0x1122BB44};
12 printf("main.first = 0x%8.8x, main.second = 0x%8.8x\n", mine.first, mine.second);
13 mine.first = 0xAABBCCDD; // Set break point at this line.
14 printf("main.first = 0x%8.8x, main.second = 0x%8.8x\n", mine.first, mine.second);
15 mine.second = 0xFF00FF00;
16 printf("main.first = 0x%8.8x, main.second = 0x%8.8x\n", mine.first, mine.second);
17 return 0;
18 }
19
20