FireEdgeX
0

LESSON 05 ยท C++

Functions and parameters

Functions name reusable work and declare their return type and inputs.

6 min readIn progress

THE IDEA

Understand the concept

A C++ function declares the type it returns, a name, and any parameters. Its caller can pass values in, and a return statement sends the result back; void means no value is returned.

WORKED EXAMPLE

See it in context

Example