Skip to main content

Arrays, Pointers and References

  • Chapter
Book cover Up and Running with C++
  • 624 Accesses

Abstract

Aims

  • • To familiarise the reader with the declaration and processing of arrays with simple base types (int, char, etc.).

  • • To introduce the use of pointers to the simple types and to make the reader aware of the close connection between pointers and array names.

  • • To introduce string-handling and the standard library functions most commonly used for this.

  • • To demonstrate the way in which reference types may be used (in preference to pointers) to achieve argumentpassing by reference.

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

© 1998 Springer-Verlag London Limited

About this chapter

Cite this chapter

Graba, J. (1998). Arrays, Pointers and References. In: Up and Running with C++. Springer, London. https://doi.org/10.1007/978-1-4471-3433-6_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-3433-6_5

  • Publisher Name: Springer, London

  • Print ISBN: 978-3-540-76234-8

  • Online ISBN: 978-1-4471-3433-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics