@the_tech_beast to C & C++ • 2 years agoWhat is the use of a void function if it doesn't return a value?message-square22arrow-up16arrow-down11
arrow-up15arrow-down1message-squareWhat is the use of a void function if it doesn't return a value?@the_tech_beast to C & C++ • 2 years agomessage-square22
Side effects, it could print something for example.
could you give an example?
deleted by creator
Hmm the syntax is different…
Is this C++ or Python?
deleted by creator
Thanks