C++ Program to Print “Hello, World!”

Introduction

C++ Program to Print “Hello, World!”. I have used Dev-C++ IDE for debugging purpose. But you can use any C programming language compiler as per your compiler availability.

#include<iostream>
using namespace std;

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

Result

C++ Program to Print "Hello, World!"
C++ Program to Print “Hello, World!”

Leave a Comment