Hacker News new | ask | show | jobs
by nmj 4032 days ago
> Here's an example of a really bad use of "sizeof" that doesn't have the parenthesis around the argument: sizeof(*p)->member. Quite frankly, if you do this, you should be shot.

Good ol' Linus

1 comments

I certainly read that the wrong way first time around.