Skip to main content

Loops and Control Constructs

  • Chapter
The Art of C Programming
  • 990 Accesses

Abstract

All modern computer languages provide a number of control structures that allow you to execute a piece of code once or repeatedly as long as some condition is true. In BASIC we have IF..THEN (and sometimes IF.. THEN.. ELSE) and FOR.. NEXT.

“Then you keep moving around, I suppose?” said Alice.

“Exactly so,” said the Hatter: “as the things get used up”

“But what happens when you come to the beginning again?” Alice ventured to ask.

Alice’s Adventures in Wonderland

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

© 1987 Springer-Verlag New York Inc.

About this chapter

Cite this chapter

Jones, R., Stewart, I. (1987). Loops and Control Constructs. In: The Art of C Programming. Springer, New York, NY. https://doi.org/10.1007/978-1-4613-8685-8_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-4613-8685-8_3

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-0-387-96392-1

  • Online ISBN: 978-1-4613-8685-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics