Wednesday, 15 April 2020

C++ Hello World Program

Q: Write a program to print HELLO WORLD on screen.
Solution:

#include<iostream>
using namespace std;

int main(int argc, char *argv[])
{
 cout<<"Hello world";
 return 0;
}

Screenshot:

No comments:

Post a Comment