static means it can’t be called from another compilation unit (source file) by name. But using function pointer forcibly you can call.
inline:
An inline keyword is a compiler directive that only suggests the compiler to substitute the body of the function at the calling the place. It is an optimization technique used by the compilers to reduce the overhead of function calls. The compiler does not inline a function if its address is taken or if it is too large to inline.
Answer:
static:
static means it can’t be called from another compilation unit (source file) by name. But using function pointer forcibly you can call.
inline:
An inline keyword is a compiler directive that only suggests the compiler to substitute the body of the function at the calling the place. It is an optimization technique used by the compilers to reduce the overhead of function calls. The compiler does not inline a function if its address is taken or if it is too large to inline.
void:
void means the function does not return a value.
need an explanation for this answer? contact us directly to get an explanation for this answer