AB
Size: a a a
AB
NM
int a = 5;
int *p = &a;
double *d = static_cast<double*>(p); // Static_cast from 'int *' to 'double *' is not allowed
AB
AB
int a = 5;
int *p = &a;
double *d = static_cast<double*>(p); // Static_cast from 'int *' to 'double *' is not allowed
NM
ID
reinterpret_cast
?NM
reinterpret_cast
?ID
NM
AB
ЕП
ЕП
C
NM
ID
П
AB
AB
NM
П