codepad
[
create a new paste
]
login
|
about
Link:
http://codepad.org/Q8cgS6x8
[
raw code
|
output
|
fork
]
haskell
-
Haskell
,
pasted on Jun 14:
1
2
3
import
Foreign.Ptr
import
Foreign.Storable
main
=
poke
nullPtr
'
\0
'
Output:
1
Segmentation fault
Create a new paste based on this one
Comments: