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