Print "Hello World" statement in C++
#include<iostream>
int main() {
std::cout<<"Hello World";
return 0;
}
OUTPUT :
PS D:\C++Practicals>
> cd "d:\C++Practicals\" ; if ($?) { g++ tut1.cpp -o tut1 } ; if ($?) { .\tut1 }
Hello World
PS D:\C++Practicals>
Comments
Post a Comment