1 | int main(int argc, char **argv) { |
---|---|
2 | // Perform a null pointer access. |
3 | int *const null_int_ptr = nullptr; |
4 | *null_int_ptr = 0xDEAD; |
5 | |
6 | return 0; |
7 | } |
8 |
1 | int main(int argc, char **argv) { |
---|---|
2 | // Perform a null pointer access. |
3 | int *const null_int_ptr = nullptr; |
4 | *null_int_ptr = 0xDEAD; |
5 | |
6 | return 0; |
7 | } |
8 |