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