Sunday 6 February 2011

Memory representation of char in c


Example:



Memory representation of: signed char a=7;



Binary
equivalent of data 7 in eight bit:  00000111

Data
bit: 0000111 (Take first seven bit form right side)

Sign
bit: 0       (Take leftmost
one bit)

In
memory:








Introduction
List of data types
Primitive data types in c
Modifiers of data types in c
List of modifiers in c
Default modifiers of data types in c
Default data of

No comments:

Post a Comment