Skip to main content

More Data Types

  • Chapter
  • 653 Accesses

Part of the book series: Macmillan Computer Science Series ((COMPSS))

Abstract

So far, all data types of identifiers have been simple: they consist of one elementary type. The elementary types are

(char)

characters

(int)

integers

(float)

floating point

Chars and ints can be either signed or unsigned, and ints and floats can have modifiers short or long. A ‘long float’ is referred to as a ‘double’. Unless otherwise explicitly stated in a declaration, the default type is int.

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

Buying options

eBook
USD   19.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Copyright information

© 1988 R. E. Berry, B. A. E. Meekings and M. D. Soren

About this chapter

Cite this chapter

Berry, R.E., Meekings, B.A.E., Soren, M.D. (1988). More Data Types. In: A Book on C. Macmillan Computer Science Series. Palgrave Macmillan, London. https://doi.org/10.1007/978-1-349-10233-4_9

Download citation

  • DOI: https://doi.org/10.1007/978-1-349-10233-4_9

  • Publisher Name: Palgrave Macmillan, London

  • Print ISBN: 978-0-333-46529-5

  • Online ISBN: 978-1-349-10233-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics