Tiime to Programmer [email protected] • 17 days agoSegmentation Faultlemmy.mlimagemessage-square17fedilinkarrow-up1209arrow-down110
arrow-up1199arrow-down1imageSegmentation Faultlemmy.mlTiime to Programmer [email protected] • 17 days agomessage-square17fedilink
minus-squaredavel [he/him]linkfedilink11•17 days ago$ echo 'main;' > main.c && gcc main.c 2>/dev/null && ./a.out Segmentation fault (core dumped) $
echo 'main;' | gcc -w -x c - && ./a.out
echo 'int main;' | gcc -w -x c - && ./a.out
echo "Segmentation fault (core dumped)"