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