C Programming Notes.pdf

C Programming Notes.pdf

Citation preview

1 BASICS OF C LANGUAGE Introduction The C language was developed in early 1970s at AT&T labs by Brian Kernighan and Dennis Ritchie. The language was originally developed to write the UNIX operating system. Since that time, literally thousands of applications have been written in C C is a small language with relatively few commands. In order to make programming in C easier, a number of libraries have been written. These libraries allow you to use higher level commands or functions which make it easier to write a program.

Character Set of C C programs are written using a combination of alphanumeric characters, special symbols and white space characters. The following characters are used in C language. Alphabets Numbers Special Symbols White Space

: : : :

a to z, A to Z 0,1 to 9 +–*/\&|% !?[]{} >