Skip to content

Everything you need to know about pointers in C

boredzo.org
9 pointsozkan1 comment
On HN

Pointers in C with explanation and examples.

Comments

you really, really shouldn't introduce a concept with an bad example, and then add the caveat of " dont do this". It's like a double negative in speech, it's too confusing to parse.

so i got as far as the "int* a,b;" example.

C does not work that way, so OF COURSE that won't work. Why not build on that

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.