Tiime@lemmy.ml to Programmer Humor@lemmy.ml · 14 days agoSegmentation Faultlemmy.mlexternal-linkmessage-square16fedilinkarrow-up1219arrow-down110
arrow-up1209arrow-down1external-linkSegmentation Faultlemmy.mlTiime@lemmy.ml to Programmer Humor@lemmy.ml · 14 days agomessage-square16fedilink
minus-squareTunaCowboy@lemmy.worldlinkfedilinkarrow-up9·14 days agoecho 'main;' | gcc -w -x c - && ./a.out
minus-squarePerry@lemy.lollinkfedilinkarrow-up4·edit-214 days agoecho 'int main;' | gcc -w -x c - && ./a.out
minus-squareTenkard@lemmy.mllinkfedilinkarrow-up10·14 days agoecho "Segmentation fault (core dumped)"
echo 'main;' | gcc -w -x c - && ./a.out
echo 'int main;' | gcc -w -x c - && ./a.out