Tiime@lemmy.ml to Programmer Humor@lemmy.ml · 12 days agoSegmentation Faultlemmy.mlexternal-linkmessage-square16fedilinkarrow-up1218arrow-down110
arrow-up1208arrow-down1external-linkSegmentation Faultlemmy.mlTiime@lemmy.ml to Programmer Humor@lemmy.ml · 12 days agomessage-square16fedilink
minus-squaredavel@lemmy.mllinkfedilinkarrow-up11·12 days ago$ echo 'main;' > main.c && gcc main.c 2>/dev/null && ./a.out Segmentation fault (core dumped) $
minus-squareTunaCowboy@lemmy.worldlinkfedilinkarrow-up9·12 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