HPlogo HP-UX/HP C Compiler: HP C/HP-UX Reference Manual

Chapter 3 Data Types and Declarations

» 

Technical documentation

Complete book in PDF

 » Table of Contents

In C, as in many other programming languages, you must usually declare identifiers before you can use them.

The declarable entities in C are:

  • objects

  • functions

  • tags and members of structures, unions, and enumerated types

  • type definition names

This chapter describes declarations, type specifiers, storage-class specifiers, structure and union specifiers, enumerations, declarators, type names, and initialization. Data types and declarations are defined using Backus-Naur form.

© Hewlett-Packard Development Company, L.P.