Programming in C

(Barry) #1

A C Language Summary


THIS SECTION SUMMARIZES THEC LANGUAGEin a format suitable for quick reference.
It is not intended that this section be a complete definition of the language, but rather a
more informal description of its features.You should thoroughly read the material in this
section after you have completed the text. Doing so not only reinforces the material you
have learned, but also provides you with a better global understanding of C.
This summary is based on the ANSI C99 (ISO/IEC 9899:1999) standard.

1.0 Digraphs and Identifiers


1.1 Digraph Characters


Ta b le A.1 lists special two-character sequences (digraphs) that are equivalent to the listed
single-character punctuators.

Ta ble A.1 Digraph Characters
Digraph Meaning
<: [
:> ]
<% {
%> }
%: #
%:%: ##

1.2 Identifiers


An identifierin C consists of a sequence of letters (upper- or lowercase),universal character
names (Section 1.2.1),digits, or underscore characters.The first character of an identifier

20 0672326663 AppA 6/10/04 2:01 PM Page 425

Free download pdf