4 ms·
Ok, this will sound stupid then, but is pointer aliasing using casts undefined?
by RealityVoid 7y ago
Ok, this will sound stupid then, but is pointer aliasing using casts undefined?
- saagarjha 7y agoNot stupid–pointer aliasing using a cast is undefined if the types do not match, unless the type you are converting to is a void * , char * , or unsigned char *.