|
|
|
|
|
by weinzierl
4045 days ago
|
|
In C there are no functions that take a type as argument. So sizeof(type)
is a special case anyway.I'm all for using sizeof like a function, but that doesn't make it consistent. sizeof is just a special syntactical construct. I like to think that sizeof is called an operator just for
syntactic convenience much in the same way as typedef is a storage-class specifier. |
|