A Simple C Program:
Printing a Line of Text
Printing a Line of Text
1 /* NSBM
2 A first program in C */3 #include <stdio.h>
4
5 void main()
6 {
7 printf( "Welcome to C!\n" );
8 }
•Comments
•Text
surrounded by /* and */ is ignored by computer
•Used
to describe program
Comments
Post a Comment