what is a return value

hello, i want to know what is a return value in a function!
please i don 't want complicated words i just want a simple definition of the return value in a function, an example, and WHY SHOULD I USE A RETURN VALUE IN A FUNCTION. Thank you !
See http://www.cplusplus.com/reference/algorithm/max/
std::max is a function. It returns a value that is the largest of its input parameters.
The return value is the result of a computation.

All functions do not return values.
If you need a definition just look it up! For instance, the tutorial on this site explains it well: http://www.cplusplus.com/doc/tutorial/functions/
Topic archived. No new replies allowed.