Hi GURUs,

I have a very simple question and I am sure GURU know the solution.

Consider this code:
Code:
   BYTE tmpByte[8] = {0, 0, 0, 1, 0, 1, 0, 1};
   ULONG *tmpTest = (ULONG *)(&tmpByte[0]);
The value of tmpTest is:
Code:
tmpTest[0]=16777216
tmpTest[1]=16777472
Does anyone know how the compiler do the calculation to result 16777216 and 16777472?

Thanks for any help in advance...

Cheers