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