Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on C/C++ Pointer Declaration Syntax – It makes sense.
I'm paraphrasing, but I believe the explanation is that `int a* = 5;` is a mnemonic, i.e. that dereferencing the pointer a will evaluate to 5.
Must have read that section five or six times over the years but only a few months ago did it sink in.
There are no comments on this comment yet.
I'm paraphrasing, but I believe the explanation is that `int a* = 5;` is a mnemonic, i.e. that dereferencing the pointer a will evaluate to 5.
Must have read that section five or six times over the years but only a few months ago did it sink in.