Re:How can C Programs be so Reliable? (2008)
by dsego on Thursday December 05, 2013 @11:10PM
(#6859351)
I think pointer syntax in C, not pointers themselves, is what causes confusion for most beginner programmers. This post explains it well: http://objcsharp.wordpress.com/2013/08/14/the-great-pointer-...
[ Parent
| on HN ]
Re:How can C Programs be so Reliable? (2008)
by dllthomas on Friday December 06, 2013 @11:45AM
(#6861969)
Plausibly. C++ confuddles things with reference syntax, but in straight C the notion that
int b, *a;
declares that "b"
and "*a"
are ints only really breaks down at casts. It does require point out that you are allocating space for the named things, not the terms...