G
Guest
How does the byte packing and the byte alignment work in VC++ compiler? What is the effect of #pragma pack(n) on the alignment and byte packing
for example while using the structur
struc
double a
char b
char c
}
in a 8 byte packing the sizeof structure is 16. Could anyone explain.
for example while using the structur
struc
double a
char b
char c
}
in a 8 byte packing the sizeof structure is 16. Could anyone explain.