Void | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1


what is use of void

26th Jan 2017, 6:00 AM
Clumsy - avatar
1 Answer
+ 1
Void is a datatype that means empty. And is used when u don't want to return a value from a function.
26th Jan 2017, 6:02 AM
Divesh Agarwal
Divesh Agarwal - avatar