New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Why do void functions exist?
What would be an example of a void function in practice? Why would you want a function without some sort of output?
1 Answer
+ 2
May be the function prints sth
or it change the property and do not need to return sth