Hello World

A “Hello world!” program is usually a computer program that displays the message “Hello world!”. It is very simple in most of the programming languages.

Let see how to write hello world program in c++.

Program

#include <iostream>

using namespace std;

int main() {

    cout << "Hello World";

    return 0;
}

Output

Hello World