What is the C equivalent for the reinterpret_cast from C++?
reinterpret_cast
C-style casts just look like type names in parenthesis:
void *p = NULL; int i = (int)p; // now i is most likely 0
Obviously there are better uses for casts than this, but that's the basic syntax.