What is function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is function?

Function is a return type

21st Jul 2019, 7:19 AM
Tehreem Khan
Tehreem Khan - avatar
1 Answer
+ 3
Functions in a nutshell: they get input, do stuff, return an output. (of course any of these things can change) Please, next time if you ask a question, make it as clear as possible, everyone will be happier. Also, this question probably has been asked a few times before, use the search bar before posting >.<
21st Jul 2019, 7:23 AM
Airree
Airree - avatar