#include <stdio.h>
int main() // Don't forget the int part, not all compilers will automatically add it
{
void *vp;
char chr[] = {"Harry Potter"};
vp = (char*)chr;
printf("%c",*vp);
}
Haven't worked with them for a while, forgot how to use them, Disch is indeed right. Although, void pointers can be useful when working with threads; to interchange data between the two threads you need a void pointer.