Re:Learn C The Hard Way
by spc476 on Sunday July 03, 2011 @10:16PM
(#2725147)
Actually, C89 can distinguish between parameters that are modifiable and those that are not. The syntax leaves a bit to be desired ("const foo_t x", "foo_t const x" and "const foo_t *const x" all have different semantics) but it can be done.
[ Parent
| on HN ]
There are no comments on this comment yet.