:x<cr>
ZZ
fl
Smallest program that produces a segmentation fault code-golf shortest program wins! Sample code #include <stdio.h> #include <string.h> #include <stdlib.h> int main(void) { char* memory; memory = "string"; *(memory) = 'A'; // BOOM }