Use of void data type.

Q13. What is the use of void data type?

Ans. The void type specifies an empty set of values. It is used as the return type for functions that do not return a value.

Leave a Reply

Your email address will not be published. Required fields are marked *

81 Views
%d bloggers like this: