After installing the software of C language,we will start with our first program which will show how to print a string on Display Screen or Console.
/* Hello World program */
#include<iostream.h>
#include<conio.h>
void main()
{
cout<<"Hello World"; //cout is used to print the string on console
getch();
}
Output:

0 comments:
Post a Comment