1.HELLO WORLD PROGRAM IN C LANGUAGE.
#include<stdio.h>
#include<conio.h>
void main()
{
printf("Hello world"); //printf() is used for displaying string inside this function
getch();
}
2.HELLO WORLD PROGRAM IN C++ LANGUAGE.
#include<iostream.h>
#include<conio.h>
void main()
{
cout<<"Hello World";
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
printf("Hello world"); //printf() is used for displaying string inside this function
getch();
}
2.HELLO WORLD PROGRAM IN C++ LANGUAGE.
#include<iostream.h>
#include<conio.h>
void main()
{
cout<<"Hello World";
getch();
}
No comments:
Post a Comment