Skip to main content

Abstract

Most large programs are written by teams of programmers. After they design the general outline of the program together, each programmer goes off and writes an isolated piece of the program. When everyone is finished, all the pieces are linked together to form the complete program. For this process to work, there must be a mechanism to ensure that variables declared by one programmer don’t conflict with unrelated variables of the same name declared by another programmer. On the other hand, there is usually some data that needs to be shared between different source files, so there must also be a mechanism that ensures that some variables declared in different files do refer to the same memory locations and that the computer interprets those locations in a consistent fashion. In C, you define whether a variable is to be shared, and which portions of code can share it, by designating its scope.

Memory: what wonders it performs in preserving and storing up things gone by, or rather, things that are!

Plutarch, Morals: On the Cessation of Oracles

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1996 Springer-Verlag New York, Inc.

About this chapter

Cite this chapter

Darnell, P.A., Margolis, P.E. (1996). Storage Classes. In: C A Software Engineering Approach. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-4020-4_8

Download citation

  • DOI: https://doi.org/10.1007/978-1-4612-4020-4_8

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-0-387-94675-7

  • Online ISBN: 978-1-4612-4020-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics