1549
If, in the declaration
* type-qualifier-listopt D
and the type specified for
1550 For each type qualifier in the list, ident is a so-qualified pointer.
1551 For two pointer types to be compatible, both shall be identically qualified and both shall be pointers to compatible types.
1552 EXAMPLE The following pair of declarations demonstrates the difference between a variable pointer to a constant value and a constant pointer to a variable value.
const int *ptr_to_constant;
int *const constant_ptr;
The contents of any object pointed to by
The declaration of the constant pointer
typedef int *int_ptr;
const int_ptr constant_ptr;
declares
Next
Created at: 2005-06-29 02:19:02
The text from WG14/N1124 is copyright © ISO