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