Hi All,
Why sizeof is called as an operator, why it can not be function or a macro?
My assumption is type information is available at compile time, and to find out the size we need the type of object. Is it correct? or tell me why it must be an operator?
Thanks & Regards,
Manjunath
Why sizeof is called as an operator, why it can not be function or a macro?
My assumption is type information is available at compile time, and to find out the size we need the type of object. Is it correct? or tell me why it must be an operator?
Thanks & Regards,
Manjunath
Comment