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

Popular posts from this blog

What is a string ? Write a function in C for string concatenation. Without the use of inbuilt string function?

What is the scope of a Variable? Explain the difference between a global and local variables with example programs.

What is a pointer ? Write a C program using pointer to print the name and price of the items sold in a retail shop on a specific date.