A Book on C pp 76-83 | Cite as

More Data Types

  • R. E. Berry
  • B. A. E. Meekings
  • M. D. Soren
Part of the Macmillan Computer Science Series book 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.

Keywords

Vanilla 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

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

Authors and Affiliations

  • R. E. Berry
  • B. A. E. Meekings
  • M. D. Soren

There are no affiliations available

Personalised recommendations