What does return exactly mean. I searched online but still don't really understand.????
A function is mean to carry out a task that you set up by coding in the function.
You may want the function to return some value back to the main program to use this returned value elsewhere in the program.
Most times, you use a function to carry out repetitious tasks and so, you reuse the same function.
You can return anything, any type of value, so long as the compiler or interpreter understands that that its a valid type.