int i = 1000; void *p = &i; int *x = static_cast<int*>(p); int *y = reinterpret_cast<int*>(p);
which cast should be used to convert from void* to int* and why?
void*
int*