- C language
- C type
- here
void type-a special type that means it doesn't exist
The void type is a special type that means it doesn't exist. It can be used as the return type and argument type of function definition.
#No return value, no arguments void foo (void) { }
Note that the void type has no semantic relevance to the general-purpose pointer type "void *".