User Tools

Site Tools


user:mgardne8:portfolio:notescrap

This is an old revision of the document!


Pointers

Grid - 1byte = 8bits

2^8 - 256

       Int  a; (43;44;45;46)
       Int  b; (           )
       Int *c; (60;61;62;63;64;65;66;67;68)[Contains Adress for a(43;44;45;46)[* = Dereferencing operator]
 |0|1|2|3|4|5|6|7|
------------------
0| | | | | | | | |
------------------
1| | | | | | | | |
------------------
2| | | | | | | | |
------------------
3| | | | | | | | |
------------------
4| | | |a|a|a|a| |
------------------
5| | | | | | | | |
------------------
6|c|c|c|c|c|c|c|c|
------------------
7| | | | | | | | |
------------------

bc -l
2^8  = 256
2^16 = 65536
2^32 = 4294967296
2^64 = 18446744073709551616

—————————-

X64 0x0000000000000000
int = 4 bytes
short = 2 bytes
user/mgardne8/portfolio/notescrap.1409666963.txt.gz · Last modified: 2014/09/02 10:09 by mgardne8