Skip to main content

Storage Classes and Scope

  • Chapter
Beginning C for Arduino
  • 4237 Accesses

Abstract

This chapter examines the various ways that data are made available to your programs. The concepts presented in this chapter are important because inadvertent access to a program’s data is a frequent source of program bugs. As a general rule, you want to restrict the access to a piece of data as much as possible. That way, inadvertent changes to the data are less likely, resulting in programs that have fewer bugs.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Jack Purdum

About this chapter

Cite this chapter

Purdum, J. (2012). Storage Classes and Scope. In: Beginning C for Arduino. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4777-7_7

Download citation

Publish with us

Policies and ethics