#include <stdio.h>
int main(int argc, const char* argv[])
{
int *null_ptr = 0;
printf("Hello, segfault!\n");
printf("Now crash %d\n", *null_ptr); // Crash here.
}
#include <stdio.h>
int main(int argc, const char* argv[])
{
int *null_ptr = 0;
printf("Hello, segfault!\n");
printf("Now crash %d\n", *null_ptr); // Crash here.
}