January 03rd, 2024

What is void data type

Like (0) Comments (1)

1 Comments Add Your Comment

Akshat Gupta
2 years ago Selected
We often use void data type in programming, void means null value i.e. void does not contain any value. The void data type is used in those situations when we do not have any information about the value. It is also used with functions, if the function does not return any value, then you define its return type as void.
Like (0) Reply

Post a Comment

To leave a comment, please Login or Register