...
Code Block | ||||
---|---|---|---|---|
| ||||
unsigned int *ptr = (unsigned int *) 0xcfcfcfcf; |
Exceptions
INT11-EX1: A null pointer can be converted to an integer; it takes on the value 0. Likewise, a 0 integer can be converted to a pointer; it becomes the null pointer.INT11-EX2: Any valid pointer to void can be converted to intptr_t
or uintptr_t
and back with no change in value. (This includes the underlying types if intptr_t
and uintptr_t
are typedef
s, and any typedef
s that denote the same types as intptr_t
and uintptr_t
.)
...