ex1.1
#include
main()
{
printf ("welcome to c programming\n")
}
This is a very simple program used to print the message "welcome to c programming" on the output screen.It gives an idea of the the structure of a C program.
#-->used as a compiler derivative
main-->starting point of executing of a program
{,}-->braces are used to start and end every block of a program
printf-->an output statement used to display any message on the screen
No comments:
Post a Comment