C++ Program to Print Hello World
Here you will learn an example of C++ program to print Hello World on the output screen.
Printing “Hello World” is a way to learn the basics of any programming language. It is a simple statement to get started with learning the syntax and structure of a programming language.
Example code of C++ Program to print Hello World
1 2 3 4 5 6 7 | #include<iostream> using namespace std; int main() { cout<<"Hello World"; return 0; } |
Output
Check out our other C++ programming Examples