WRITE A PROGRAM TO PRINT A MESSAGE ON THE SCREEN
WRITE A PROGRAM TO PRINT A MESSAGE ON THE SCREEN
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr(); //to clear the screen
printf(“***** Welcome to C Programming *****”);
getch(); //to stop the screen
}
THE PROGRAM IS A VERY SIMPLE, A FEW POINTS MUST BE NOTED.
Every C program contains a function called main()
What do you think?
I hope, now you have a better understanding of print a message on the screen. Comments and suggestions regarding this article are welcome.
Comments
Post a Comment