190
submitted 3 days ago by dl007@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] davel@lemmy.ml 9 points 3 days ago
$ echo 'main;' > main.c && gcc main.c 2>/dev/null && ./a.out
Segmentation fault (core dumped)
$ 
[-] TunaCowboy@lemmy.world 7 points 3 days ago

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

[-] perry@lemy.lol 2 points 2 days ago* (last edited 2 days ago)
echo 'int main;' | gcc -w -x c - && ./a.out
[-] Tenkard@lemmy.ml 8 points 2 days ago
echo "Segmentation fault (core dumped)"
load more comments (1 replies)
this post was submitted on 10 Nov 2024
190 points (95.2% liked)

Programmer Humor

32448 readers
949 users here now

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

Rules:

founded 5 years ago
MODERATORS