C++ Program to Print Hello World

C++ Program to Print Hello World 1

Write a simple C++ Program to Print Hello World with an example. Every C++ program starts with a #include statement to include the preprocessor directives. Here, #include<iostream> includes the iostream file that helps us to use the cout statement. Here, using namespace std helps to import the std namespace. #include<iostream> using namespace std; int main() { cout << “Hello World”; return … Read more