KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel