Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for Tips for golfing in C

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
Aug 21 at 16:03 comment added Toby Speight Nope, that comma changes the meaning because b is now incremented only when the condition is true.
Mar 21, 2023 at 18:49 comment added Maxence1402 The for loop allows up to two statements this way without braces, where the while loop only allows one. You could have avoided the braces in the first example with a comma as follows: a=5;while(*p++)if(p[a])--a,++b;
Jun 17, 2020 at 9:04 history edited Community Bot
Commonmark migration
S Feb 3, 2020 at 12:32 history suggested S.S. Anne CC BY-SA 4.0
Include valuable advice from a comment
Feb 3, 2020 at 12:29 review Suggested edits
S Feb 3, 2020 at 12:32
Jul 20, 2018 at 8:43 history answered Toby Speight CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /