Professional Documents
Culture Documents
000000000…….……00100110
• sign bit (0 positive, 1 negative)
- most significant bit
• reading to larger addresses indicates less significance
• 21 + 22 + 25 = 38 (we count from zero in C/C++)
• ….but this arrangement is just for Big-Endian processors
• Each type has an associated pointer type to go with it, which then becomes
it’s own type in C / C++.
int anInteger;
int *anIntegerPointer;
float f;
float *f_ptr;
float **f_pointerToPointer;
char *argv[]; // you’ve seen this fellow before
void *p; // what does this mean?
• address notation has the leading 0x, and is written in hexidecimal notation
• we can see that the compiler placed j and k right after one another
• What do we think the long long value of 0x7fff5fbff370 is ?