Another way to refer to the type of an expression is with typeof. The syntax of using of
this keyword looks like sizeof, but the construct acts semantically like a type name defined
with typedef.
A typeof construct can be used anywhere a typedef name can be used.
Another way to refer to the type of an expression is with
typeof
. The syntax of using of this keyword looks likesizeof
, but the construct acts semantically like a type name defined withtypedef
.A
typeof
construct can be used anywhere a typedef name can be used.