C++ program to print Hello World!

Views: 100   

Following program shows you how to print Hello World!.
In this program we use std::cout to print hello world

#include <iostream>

int main() {
  std::cout << "Hello World!\n";
}

Output:

Hello World!
On By