May FILE be implemented as a function type in c? -
i see standard said file object type, what's object type in c? built-in type, struct, union , emun? fuction type kind of object type? can file * cast void * correctly?
- what's object type in c? built-in type, struct, union , emun?
yes, plus other "intrinsic" types such mtx_t
or atomic_flag
- is function type kind of object type?
no, function types different, declared designated function declarations.
functions can called using f(something)
notation. object types invalid.
- can file * cast void * correctly?
yes, pointer object types (that not const
or volatile
) can converted void*
, without loosing anything.
Comments
Post a Comment