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

Write a C program to check whether a given string is a palindrome or not.

What is a file in C programming ? Explain the use of fopen function in file handling. Explain different mode in which a file can be opened.

Explain different arithmetical and logical operators available in C, with the help of examples.