A Simple C Program: 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
Posts
programming C
- Get link
- X
- Other Apps
History of C C language was developed by an American computer programmer Dennis Ritchie. C evolved from two previous languages, BCPL and B was developed in 1967 by Martin Richards as a language for writing operating systems software's and compilers. C is a hardware independent. With careful design, it is possible to write C programs that are portable to most computers.