// segmentation-fault
|
|
|
|
#include <stdio.h>
|
|
|
|
int main() {
|
|
int *ptr = NULL;
|
|
*ptr = 42;
|
|
return 0;
|
|
}
|