0

When should I use the keyword "void"?

4th Jan 2021, 1:58 PM
Imran Azad
4 odpowiedzi
+ 3
When you don't want to 'return' anything.
4th Jan 2021, 2:10 PM
Hardik Sharma
Hardik Sharma - avatar
0
When I will use loop , can I use void ?
4th Jan 2021, 2:24 PM
Imran Azad
0
If you are saying about calling a void function inside a loop then obviously it's possible. Please let me know if you are asking about anything else.
4th Jan 2021, 2:26 PM
Hardik Sharma
Hardik Sharma - avatar