C++ Logo


Advanced search

Re: Allowing access to object representations

From: sdkrystian <sdkrystian_at_[hidden]>
Date: Wed, 21 Aug 2019 21:06:31 -0400
> It does. But the char pointer points to the first byte. Which is platform dependant. Don't think so: "the pointer value is unchanged" means exactly what it says, it still points to the int object. It is not specified anywhere that it will point to any char object.> Which is a char.No, it is never specified that it points to any char object. It points to an int object.

Received on 2019-08-21 20:08:36