Hello World Program
In c language , for writting hello world program , we need to add header files like as -
- #include<conio.h>
- #include<stdio.h>
- void main()
- int main()
- int main(void)
- clrscr(); - clrscr is a pre-define function for complier screen clear .
- printf(); - printf is a pre-define function that is use for any massage print for show , user.
- getch(); - it is also a pre define function , it use for compiler window screen hold .
- #include<conio.h>
- #include<stdio.h>
- void main()
- {
- clrscr();
- printf("Hello World");
- getch();
- }
Output pic..
Comments
Post a Comment