Comment by simias

12 years ago

Heh, you're the first person I meet who advocates dropping the parens around the sizeof argument in any situation. That does look terribly alien to me.

Really? I always do. If you don't, it makes the variable look like a type. It's the same reason why I dislike extra parens around the value in the return statement. Don't make it look like something it isn't.

sizeof is a unary operator and not a function. Only types need to be enclosed in parens. Most people don't know this.