Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    \$\begingroup\$ Yay "long arrow operator". Also, I didn't think gcc would ever use register eax for locals. Go figure. \$\endgroup\$ Commented Aug 21, 2017 at 12:22
  • 2
    \$\begingroup\$ You can save 2 bytes by removing a comparison to 0 in for cycle, unless I've overlooked something. \$\endgroup\$ Commented Aug 21, 2017 at 15:45
  • \$\begingroup\$ Suggest *f(k){int r[k], instead of int*f(k){int*r=malloc(k*4), \$\endgroup\$ Commented Aug 22, 2017 at 20:39