Pointers as Host Variables

A C host variable that is declared as a pointer to a void (void *p) is treated as a data buffer of unknown length. Your program must verify that enough memory is allocated to hold any output data that is received.