c ++ fucntion code example Example: functions in C++ void Hello() { std::cout << "Hello"; } int main () { Hello(); }