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.

Required fields*

4
  • \$\begingroup\$ According to the question's rules (rule 2), you only have to count the characters in the function body. So your solution would actually be less than 170 bytes. I'm not sure if the count includes variable prototypes outside the function body, though. \$\endgroup\$ Commented Feb 24, 2014 at 8:43
  • \$\begingroup\$ I will amend the rules on this: #defines, variable declarations, etc. will count, but the function declaration will not. \$\endgroup\$ Commented Feb 24, 2014 at 15:19
  • \$\begingroup\$ Also, last time I checked, there was a type in C notated as char[][] which is legal. If you return as that (or char**), you will be fine. \$\endgroup\$ Commented Feb 25, 2014 at 4:25
  • \$\begingroup\$ It doesn't have To be text output? I though the program was supposed to output the array in a string format \$\endgroup\$ Commented Feb 25, 2014 at 20:54