New course! Every coder should learn Generative AI!
Try a free lesson0
Functions
when void is used and when int
1 Answer
0
[return-type] [functionname]([argumenttype] [argumentname])
void doesn't return anything from the function
int returns an integer
double returns double etc.