C++ Hello World
In this example, we are giving a program to display "Hello World!".
Displaying "Hello, World!":
#include <iostream>
using namespace std;
int main()
{
// cout displays the string inside quotation
cout<<"Hello, World!";
return 0;
}
Output:
Hello, World!