Friday 19 June 2009

Memory representation of long int





Memory
representation of unsigned long int: unsigned long inta=8888855555;



It is 32-bit
data type and all its 32 bit is data bit.



Binary
equivalent of 888885555 is: 110100 11111011 01010001 00110011

For 32 bit we
will add 2 zero in the left side i.e. 00110100 11111011 01010001 00110011. Here



A is 00110100

B is 11111011

C is 01010001

D is 00110011



Memory representation: 






No comments:

Post a Comment