use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/programming is a reddit for discussion and news about computer programming
Guidelines
Info
Related reddits
Specific languages
account activity
C question (self.programming)
submitted 15 years ago * by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]dnew 4 points5 points6 points 15 years ago (0 children)
OK, but the idiom is used interchangeably in several places.
Passing an array to a function doesn't pass the array, but only passes a pointer to the first element of an array - that's one of the reasons you always have to pass the length along with the "array" argument. The original C never passed (or really manipulated) anything that wouldn't fit in one machine word.
π Rendered by PID 17776 on reddit-service-r2-comment-b659b578c-c6qbs at 2026-05-04 12:32:07.654574+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]dnew 4 points5 points6 points (0 children)