DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Complying with standard C

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

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003