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