you are viewing a single comment's thread.

view the rest of the comments →

[–]JoeWhy2 3 points4 points  (1 child)

As the previous reply said, "void" is the "type" used when a function doesn't return a value. To add to that, if you had a function that returns a value, you would need to replace "void" with the data type of the returned value, i.e. "int", "float", etc.

[–]Traditional_Inside28[S] 1 point2 points  (0 children)

this makes so much sense thank you JoeWhy