sizeof(type)
Edgar Fuß <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.userlevel |
|---|---|
| Message-ID | <[email protected]> |
May I use the wisdom of this list for a question that is not NetBSD-related? Why does C's sizeof operator need parentheses when applied to a type? A colleague argued that this resembles the typecast syntax (like typecasting nothing to the type in question). I suspect some ambiguity without the parentheses, but I fail do make up one.