January 11, 2006



Coverage: [USP] Chapter 2


Process


Thread


Storage Class Summary

ClassScopeLifeStorage Init. arrays/structsDefault value
automaticblockblock activestackyesundefined
register (1)blockblock activemachine registernoundefined (2)
external (3)declaration to end-of-filepermanentdata areayes0
static external (4)declaration to end-of-filepermanentdata areayes0
static internalblockpermanentdata areayes0

Notes:
  1. Speed advantage
  2. For function arguments, value passed
  3. Can be accessed from other files
  4. Can not be accessed from other files
(ref. [C])


makeargv


Bubbblesort Storage Class Exercise 2.20


Handling Errors


Other Things Discussed


Codes Discussed In-class


Self-study


References



Return Home