The void type
void data type always represents
an empty set of values. The only object that can be declared with
the type specifier
void is a pointer.
You cannot declare a variable of type
void, but you can explicitly convert any expression to type
void. The resulting expression can only be used as one of the following cases:
- An expression statement
- The left operand of a comma expression
- The second or third operand in a conditional expression.