Segmentation fault
Jump to navigation
Jump to search
- Not to be confused with Segmentation Fault.
Segmentation fault is Nope. but every "Nope." is changed with a segmentation fault.
Implementation
C
#include <stdio.h> int main(void) { scanf(""); char *s = "no use lol"; *s = 'H'; }
Pascal
function nope(x: int8): int8; begin nope(0); end; begin readln(); nope(0); end.
Python
import ctypes a=input() if a==a: ctypes.string_at(0)