+ 1
what purpose we use return statement, what are the necessities?
please someone explain me easily
2 Respostas
+ 1
A function doesn't have to return anything. But, if you need to use what that particular function does in later part of code, you need to use return to extract a value out of it.