Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Lisp terms, sizeof is a special operator.

It used to be compile-time only until C99, which allowed it to be applied to a variable-length array (VLA). Thus it potentially has run-time semantics, though still not a function. Address-of (&) has run-time semantics, since the address of an object is rarely constant, and isn't a function either.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: