Content deleted Content added
→Type punning: new section |
→Call by reference or call by value?: new section |
||
Line 17:
:"''For example, common Internet protocols rely on the fact that C compilers insert padding between struct fields in predictable ways [...]''"
Is this an example of [[type punning]]? --[[User:Abdull|Abdull]] ([[User talk:Abdull|talk]]) 22:52, 2 January 2010 (UTC)
== Call by reference or call by value? ==
In C, when calling a subroutine or receiving a return value, is a struct passed/returned by value or by reference? Does the [http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1256.pdf ISO/IEC C standard] discuss this topic explicitly? Thanks, --[[User:Abdull|Abdull]] ([[User talk:Abdull|talk]]) 09:18, 2 May 2010 (UTC)
|