Next: C Program Structure Up: Programming in C Previous: Exercises

Basic C Programming

In this Chapter we will look at the basic aspects of C programs such as C program structure, the declaration of variables, data types and operators. We will assume knowledge of a high level language, such as PASCAL.

It is our intention to provide a quick guide through similar C principles to most high level languages. Here the syntax may be slightly different but the concepts exactly the same.

C does have a few surprises:



Dave.Marshall@cm.cf.ac.uk
Wed Sep 14 10:06:31 BST 1994