Tiime@lemmy.ml to Programmer Humor@lemmy.ml · 13 days agoSegmentation Faultlemmy.mlimagemessage-square16fedilinkarrow-up1215arrow-down110
arrow-up1205arrow-down1imageSegmentation Faultlemmy.mlTiime@lemmy.ml to Programmer Humor@lemmy.ml · 13 days agomessage-square16fedilink
minus-squaredavel [he/him]@lemmy.mllinkfedilinkarrow-up11·13 days ago$ echo 'main;' > main.c && gcc main.c 2>/dev/null && ./a.out Segmentation fault (core dumped) $
minus-squareTunaCowboy@lemmy.worldlinkfedilinkarrow-up9·13 days agoecho 'main;' | gcc -w -x c - && ./a.out
minus-squareTenkard@lemmy.mllinkfedilinkarrow-up10·12 days agoecho "Segmentation fault (core dumped)"
echo 'main;' | gcc -w -x c - && ./a.out
echo 'int main;' | gcc -w -x c - && ./a.out