void
void
object (void*
)
is a pointer that does not point to any object.
NULL
is a pointer to void
.
void*
.
p1 = p2
is legal if and only if
p1
and p2
point to the same type of object, or
p2
is a pointer to void
.
p2
to be compatible with p1
.
pi = (int*) pf;
NULL
can be assigned to any pointer.
This page was last modified on Oct 20, 2000
URL: http://people.hsc.edu/faculty-staff/robbk/Coms262/Lectures/CompatibilityPtrs.html