Computer works by breaking everything it does in small tasks. Let’s call those tasks as “functions”. Imagine functions as magic boxes, they could have zero, one or more inputs and return one output. Internally, those functions are also made combining another functions.
When a function returns, it could:
-Return a value. Like you’ve asked how much is 1+2? 3.
-Return it finished what it was doing. Call me “John”. Ok.
-Return that an error has occurred. How much is 1/0? Don’t know how to continue.
Latest Answers