Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
A function definition is consists of (a copy of) a function declaration and this function's body.
Function definitions are commonly found in implementation (.cpp) files.
#include <iostream> |
The first line of the function SayHello is (a copy of) the function declaration. The part between the accolades is the function body.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.