1 | #include <string.h> |
---|---|
2 | int main() { |
3 | int c[2048]; |
4 | memset(s: c, c: 0, n: 2048 * sizeof(int)); |
5 | |
6 | c[2047] = 0xfeed; |
7 | |
8 | return c[2047]; // breakpoint here |
9 | } |
10 |
1 | #include <string.h> |
---|---|
2 | int main() { |
3 | int c[2048]; |
4 | memset(s: c, c: 0, n: 2048 * sizeof(int)); |
5 | |
6 | c[2047] = 0xfeed; |
7 | |
8 | return c[2047]; // breakpoint here |
9 | } |
10 |