The execution of a program always starts with the function main. Below is a program that prints the text Hello, World! on the screen.
main
Hello, World!
#include <iostream> using namespace std; void main() { cout << "Hello, World!" << endl; }