// void function example
#include
using namespace std;
void printmessage ()
{
cout << "I'm a function!";
}
void printmessage2 ()
{
cout << "I'm also a function!";
}
int main ()
{
printmessage();
printmessage2();
return 0;
}
===== There are 3 functions defined above. =====