Chapter 05

De CoteiaWiki
  • Chapter 5 # Functions
    • 5.1 Function Definition
    • 5.2 The return Statement
    • 5.3 Function Prototypes
      • Function Prototypes in C++
    • 5.4 An Example: Creating a Table of Powers
    • 5.5 Function Declarations from the
      • Compiler's Viewpoint
      • Limitations
    • 5.6 An Alternate Style for Function
      • Definition Order
    • 5.7 Function Invocation and Call-by-Value
    • 5.8 Developing a Large Program
      • What Constitutes a Large Program?
    • 5.9 Using Assertions
    • 5.10 Scope Rules
      • Parallel and Nested Blocks
      • Using a Block for Debugging
    • 5.11 Storage Classes
      • The Storage Class auto
      • The Storage Class extern
      • The Storage Class register
      • The Storage Class static
    • 5.12 Static External Variables
    • 5.13 Default Initialization
    • 5.14 Recursion
      • Efficiency Considerations
    • 5.15 An Example: The Towers of Hanoi