c++ code for printing hello world code example
Example 1: c++ code to print hello world
#include<iostream>
using namespace std;
int main(){
cout << "Hello World" << endl;
return 0;
}
Example 2: c++ print hello world
#include <iostream>
using namespace std;
int main() {
cout << "Hello Fellow Developers\nLet the fun begin!";
return 0;
}