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