Outline for April 8, 2002
Handouts: Associativity
Reading: Johnsonbaugh & Kalin pp. 113-137, 153-17
-
Greetings and felicitations!
-
Associativity of operations
-
Difference between associativity of operations and order of evaluation
-
dands1.c
-
arrays (0-based, not 1-based)
-
logical operator evaluation (lazy evaluation)
-
changing character digits to integers (ndigit) and back (printf)
-
dands2.c
-
switch
-
pow.c
-
function prototype & declaration
-
pass by value vs. pass by reference; C always the former
-
scope in functions
-
returning values