what is the use of void data type ?
Answers
Answered by
3
Answer:
pls mark as brainliest
Explanation:
Many programming languages need a data type to define the lack of return value to indicate that nothing is being returned. The void data type is typically used in the definition and prototyping of functions to indicate that either nothing is being passed in and/or nothing is being returned.
Similar questions