1 | #include <stdlib.h> |
---|---|
2 | |
3 | int printf(const char * __restrict format, ...); |
4 | |
5 | typedef struct { |
6 | int a; |
7 | int b; |
8 | } MYFILE; |
9 | |
10 | int main() |
11 | { |
12 | MYFILE *myFile = malloc(size: sizeof(MYFILE)); |
13 | |
14 | myFile->a = 5; |
15 | myFile->b = 9; |
16 | |
17 | printf(format: "%d\n", myFile->a + myFile->b); // Set breakpoint 0 here. |
18 | |
19 | free(ptr: myFile); |
20 | } |
21 |