Compatible pointer types
For two pointer types to be compatible,
the types they point to must be compatible
and the two pointers must be identically qualified.
Recall that the qualifiers for a pointer are specified
after
the
*,
so that these two declarations
int *const cpi;
int *volatile vpi;
declare two differently qualified pointers to the same type,
int.
Next topic:
Compatible array types
Previous topic:
Single compilation compatibility
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005