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

Popular posts from this blog

java - How to handle special characters while unmarshalling xml in JAXB -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -