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

Functions

when void is used and when int

17th Feb 2018, 10:40 AM
MlStick
1 Answer
0
[return-type] [functionname]([argumenttype] [argumentname]) void doesn't return anything from the function int returns an integer double returns double etc.
17th Feb 2018, 10:43 AM
Alex
Alex - avatar