this post was submitted on 25 Aug 2023
559 points (95.0% liked)

Programmer Humor

32410 readers
1 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] grue@lemmy.ml 24 points 2 years ago (1 children)

Pro tip: the arguments to main() don't have to be named argc and argv.

Also, you forgot to #define an alias for atoi, and number, n, and i could've been named something more on fleek.

[โ€“] bronzle@lemm.ee 6 points 2 years ago* (last edited 2 years ago)

Also could have takin out mains return type and used sus chief