Tiime@lemmy.ml to Programmer Humor@lemmy.ml · 14 days agoSegmentation Faultlemmy.mlexternal-linkmessage-square15fedilinkarrow-up117arrow-down10
arrow-up117arrow-down1external-linkSegmentation Faultlemmy.mlTiime@lemmy.ml to Programmer Humor@lemmy.ml · 14 days agomessage-square15fedilink
minus-squaredavel [he/him]@lemmy.mllinkfedilinkarrow-up2·14 days ago$ echo 'main;' > main.c && gcc main.c 2>/dev/null && ./a.out Segmentation fault (core dumped) $
minus-squareTunaCowboy@lemmy.worldlinkfedilinkarrow-up2·14 days agoecho 'main;' | gcc -w -x c - && ./a.out
minus-squarePerry@lemy.lollinkfedilinkarrow-up2·edit-213 days agoecho 'int main;' | gcc -w -x c - && ./a.out
echo 'main;' | gcc -w -x c - && ./a.out
echo 'int main;' | gcc -w -x c - && ./a.out