Skip to main content

More Data Types

  • Chapter
A Book on C

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

  • 93 Accesses

Abstract

In our discussion 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 to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Copyright information

© 1993 B. A. E. Meekings, T. P. Kudrycki and M. D. Soren

About this chapter

Cite this chapter

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

Download citation

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

  • Publisher Name: Palgrave, London

  • Print ISBN: 978-0-333-56919-1

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

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics