Dereferencing void pointer

Here is the sample code for dereferencing void pointer.