Hey does anybody know if this is possible "void **" Can you actually have a pointer point to a void pointer?
Can there be a boolen pointer? ex: boolean *test. I have never seen one so i'm not sure.
thanks...
Hey does anybody know if this is possible "void **" Can you actually have a pointer point to a void pointer?
Can there be a boolen pointer? ex: boolean *test. I have never seen one so i'm not sure.
thanks...
Yes, you can have void**. A void-pointer is a generic pointer which you can use to point to variables of different types. In this way you could create a two-dimensional array of chars, ints or whatever.
If you have type boolean available, then it is possible, depends on your system.
How does the "void **" work?
simple.
a void * will live in some memory location.
a void * is thus a type
a "type" * will point to a memory location
therefore if type = void *
void ** would point to it.