int to void* c
snippet in c

int to void* c

user1051

int y = *((int *) pointer);

int to void* c

user804

int x = 10;
void *pointer = &x;