Next | Atypical Types | 17 |
ALGOL (1960), Pascal (1968), C (1971)
These are all very similar
Attempt to extend type system beyond scalars
array of type
pointer to type (‘reference’ in ALGOL)
record of types (struct in C)
set of type (Pascal only)
function returning type
And arbitrary compositions of these operations:
/* This is why we love C */ int *((*murgatroyd[17])(void *));
Next | Copyright © 1999,2008 Mark Dominus |