Hello World in C++

Hello World in C++

How to write C++ program to Print Hello World? This is very basic code for a beginner. Basically from this code we start our coding journey.


C++ Program to Print Hello World :



#include <iostream>

using namespace std;

int main() 
{
    cout << "Hello world !!";
    return 0;
}

Output :