Q : Define void data type and write any three use of it.
The data type void actually refers to an object that does not have a value of
any type. Void is also used to indicate when a function does not return a value
or no argument. Such a function is used for its side effect and not for its
value. In the function declaration and definition, we have indicated that the
function does not return a value by using the data type void to show an empty type, i.e. no value. Similarly, when a
function has no formal parameters, the keyword void is used in the function prototype and header to signify that
there is no information passed to the function.