/* * segfault.c */ #include int main(int argc, char *argv[]) { char *s; printf("about to do bad things"); *s = 'q'; }