Question: why sizeof is not a function?
Answer: Function is to be run at runtime (or inlined), sizeof has to be determined at compile-time. Because: when you pass a value to a function, the size of the object is not passed to the function, so a sizeof "function" would have no way of determining the size.