Tiime to Programmer [email protected] • 4 days agoSegmentation Faultlemmy.mlimagemessage-square17fedilinkarrow-up1197arrow-down110
arrow-up1187arrow-down1imageSegmentation Faultlemmy.mlTiime to Programmer [email protected] • 4 days agomessage-square17fedilink
minus-squaredavel [he/him]linkfedilink10•4 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)"