Next: The if statement Up: Programming in C Previous: Exercises


This Chapter deals with the various methods that C can control the flow of logic in a program. Apart from slight syntactic variation they are similar to other languages.

As we have seen following logical operations exist in C:

==, , , &&.

One other operator is the unitary - it takes only one argument - not !.

These operators are used in conjunction with the following statements.
Wed Sep 14 10:06:31 BST 1994