Re:How to Get Fired Using Switch Statements and Statement Ex...
by Someone on Friday October 28, 2016 @05:44PM
(#12821018)
In ANSI C, not in K&R C. https://en.wikipedia.org/wiki/C_(programming_language)#K.26R... doesn't explicitly say it, but gets close:
"In the years following the publication of K&R C, several features were added to the language [...] functions returning struct or union types (rather than pointers)"
I'm confused. You can pass a structure to a function by value in C. What does he mean by this?