Afficher un message
Vieux 19/10/2007, 21h18   #7
Peter Pichler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Question about size and memory layout of a Union.

James Kuyper Jr. wrote:

> There are 32! possible orderings of 32 bits, though only a small number
> of those orderings are actually used. However, I've read that of the 12
> possible orderings of the 4 bytes underlying a 4-byte integer, 8 of them
> are in actual use.


ITYM 24 possible orderings. Just like there are 32! possibilities with
32 bits, there are 4! possibilities with 4 bytes. 4! = 24.
  Réponse avec citation
 
Page generated in 0,06089 seconds with 9 queries