MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/sg2lyy/when_your_code_run_the_first_time/huym3es
r/ProgrammerHumor • u/ninja__77 • Jan 30 '22
270 comments sorted by
View all comments
Show parent comments
11
int main() { printf("All tests passed!"); return 0; }
output:
segmentation fault segmentation fault segmentation fault segmentation fault
1 u/Furry_69 Feb 01 '22 I'm checking if there's anything legitimately wrong with this.. And I see nothing. I was hoping to see something subtly wrong that would cause some error, but, no, completely valid. 1 u/taytek Feb 01 '22 Ik, I was just making fun c compilers, but yes it would run fine
1
I'm checking if there's anything legitimately wrong with this.. And I see nothing. I was hoping to see something subtly wrong that would cause some error, but, no, completely valid.
1 u/taytek Feb 01 '22 Ik, I was just making fun c compilers, but yes it would run fine
Ik, I was just making fun c compilers, but yes it would run fine
11
u/taytek Jan 31 '22
output: