C Tutorial Lazy logical operators
The C Language
C History
BCPL
Euclid’s Algorithm in C
Euclid on the PDP-11
Pieces of C
C Types
Declarators
Struct bit-fields
Code generated by bit fields
C Unions
Layout of Records and Unions
C Storage Classes
malloc() and free()
Dynamic Storage Allocation
Simple Dynamic Storage Allocation
malloc() and free() variants
Fragmentation
Fragmentation and Handles
Automatic Garbage Collection
Arrays
Lazy Logical Operators

The Switch Statement
setjmp/longjmp: Sloppy exceptions
Nondeterminism in C

 

 

HOME
 


 

”Short circuit” tests save time 

if ( a == 3 && b == 4 && c == 5 ) { ... } 

equivalent to 

if (a == 3) { if (b ==4) { if (c == 5) { ... } 

Strict left-to-right evaluation order provides safety 

if ( i <= SIZE && a[i] == 0 ) { ... }

Contact for more learning: webmaster@freehost7com