this post was submitted on 10 Nov 2024
190 points (95.2% liked)

Programmer Humor

32472 readers
520 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] davel@lemmy.ml 11 points 5 days ago (1 children)
$ echo 'main;' > main.c && gcc main.c 2>/dev/null && ./a.out
Segmentation fault (core dumped)
$ 
[–] TunaCowboy@lemmy.world 9 points 5 days ago (1 children)

echo 'main;' | gcc -w -x c - && ./a.out

[–] perry@lemy.lol 4 points 5 days ago* (last edited 5 days ago) (1 children)
echo 'int main;' | gcc -w -x c - && ./a.out
[–] Tenkard@lemmy.ml 10 points 5 days ago
echo "Segmentation fault (core dumped)"