C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system. Although C was designed for implementing system software,it is also widely used for developing portable application software.C is one of the most widely used programming languages of all time and there are very few computer architectures for which a C compiler does not exist. C has greatly influenced many other popular programming languages, most notably C++, which began as an extension to C.
Developed between 1969 and 1973 along with Unix
Due mostly to Dennis Ritchie
Designed for systems programming
Original machine (DEC PDP-11) was very small
1)24K bytes of memory, 12K used for operating system
2)Written when computers were big, capital equipment
3)Group would get one, develop new language, OS
Characteristics of C
2)Extensive use of function calls
3)Loose typing -- unlike PASCAL
5) Low level (BitWise) programming readily available
6)Pointer implementation - extensive use of pointers for memory, array, structures and functions.
C Program Structure
A C program basically has the following form:
3)Function prototypes -- declare function types and variables passed to function.
We must have a main() function.