I need to implement a simple dynamic array of pointers to a typedef\'ed pointer.
Using realloc each time it\'s requested by the user, the array size will grow by sizeof(
Going by the definition of realloc()
realloc(void *p, size_t size) changes the size of the object pointed to by
ptosize. The contents will be unchanged up to the minimum of the old and new sizes. If the new size is larger, the new space is uninitialized. (from Kernighan and Ritchie)
You may have to initialize the new space. You can do that when it is decided what kind of data the address pointed to by the void* will hold.