The C programming language is heavily used in the scientific as well as high
performance computing community, and also happens to be the same language that many
operating systems are written in. Thus it is important for scientists and software engineers
to have a clear understanding of the language to assist them in their computing needs. This
book is provided for the beginning programmer who has an interest in learning the
effective use of the C language. If you have never programmed before you can also use
this document to learn the basic concepts of programming.
This book was developed specifically for freshmen students taking up their first course in
programming, but people who are interested in learning C are also welcome to study it. Its
aim is to supplement classroom lectures by focusing on C programming. Topics are
arranged based on the order of class discussion. Aside from changes in programming
language and presentation, additional sections have been included. Additional C
programs are listed at the end of the book.
Only a subset of the ANSI C language is tackled here. Specifically, it is assumed that the
student will be working under the Linux environment and programming using GNU C
(which supports ANSI C)or the Borland Turbo C/C++ compiler under the Windows
environment. Coding standards to be followed, as well as some mini projects using C are
Hope you learn a lot from the book , and may the knowledge that you have gained be used
for the common good of all people.