Closures/Value capture: Difference between revisions

→‎{{header|C}}: Additional portability comments.
(→‎{{header|C}}: Additional portability comments.)
Line 5:
 
=={{header|C}}==
Non-portable. Works on x86 platform without NX protection. Depends on implementation-specific semantics of volatile which might be next to nothing for a nonstatic local variable whose address is never taken.
 
<lang c>#include <stdio.h>
#include <stdlib.h>
Anonymous user