Program to print Hello World on console
//__ First thing in writing a C program
is to include Header Files __
#include<stdio.h>
/*__stdio stands for Standard Input
Output __ Functions such as printf() and
scanf() are included in this header file __*/
scanf() are included in this header file __*/
#include<conio.h>
//__conio.h is used for getch()
function __
int main()
//__ main function from where the
program execution starts __
{
printf("Hello World");
//___ Displaying the hello world ___
getch();
return 0;
}
No comments:
Post a Comment