The ECS 30 web hosting system (the system called “nob.cs.ucdavis.edu”) suffered a disk crash and is down. We do not know when it will be back up. All material has been uploaded to SmartSite.
Homework #2 is available and due October 30
Full program calc.c
Pointers and indirection
A pointer is an address
Declarations
Address (&), dereference (*) operators
indirect references
File pointers as an example (fileio.c)
More on functions in C
Parameters: pass (or call) by reference (also called output parameters)
Example: swap function — exchange values of two variables (swap.c)