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.

DEVELOP AN ALGORITHM, FLOWCHART, AND PROGRAM TO ADD TWO NUMBERS?

What is an array ? Write a C program to add two matrices of 3 x 3 using arrays.