![arduino 1.8.5 why can arduino 1.8.5 why can](https://giantimagemanagement.com/yahoo_site_admin/assets/images/fork.16202229_std.jpg)
value-returning function call (assignment): The caller invokes (calls) a value-returning function by using its name and argument list in an expression (i.e., 1. A value-returning function can only return one value to the calling environment. Both value-returning functions and void functions receive values through their parameter lists.
![arduino 1.8.5 why can arduino 1.8.5 why can](https://i.ytimg.com/vi/oZ-oFY6TiPw/maxresdefault.jpg)
Remember: there are two kinds of subprograms that the C++ language utilizes: value-returning functions and void functions. A good utilization of a void function would be to print a header/footer to a screen or file. Even without the return statement, control will return to the caller automatically at the end of the function.
![arduino 1.8.5 why can arduino 1.8.5 why can](https://i.ytimg.com/vi/XfPhhKod2LI/maxresdefault.jpg)
You may or may not use the return statement, as there is no return value. In lieu of a data type, void functions use the keyword "void." A void function performs a task, and then control returns back to the caller-but, it does not return a value. Void functions are created and used just like value-returning functions except they do not return a value after the function executes. Functions 2: Void (NonValue-Returning) Functions Functions 2: Void (NonValue-Returning) Functions