this post was submitted on 11 Feb 2025
271 points (95.3% liked)
Programmer Humor
33320 readers
614 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Any
void main(){...}
enjoyers?int main(void) { . . . }
for me!besides not requiring a return value, what difference does it make?
@stebo02 @Bogus5553 Neither of them require a return value, but
void main
isn't legal C++.yeah I thought so, does it work in C?
It will also give an error if you try to add a return value anyways.
while (true) {...}