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

Programmer Humor

32483 readers
384 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 1 week ago (1 children)
$ echo 'main;' > main.c && gcc main.c 2>/dev/null && ./a.out
Segmentation fault (core dumped)
$ 
[–] TunaCowboy@lemmy.world 8 points 1 week ago (1 children)

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

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