Prev Up Next
Go backward to Arithmetic expressions
Go up to Expressions
Go forward to Function Calls

Constants

< constant > -> < integer constant >
| < character constant >

Character constants produce values of type integer. The value of a given character constant is the integer value of the number used to represent the character in the ASCII code.


Computer Science 434
Department of Computer Science
Williams College

Prev Up Next