purushottam
New member
- Joined
- Apr 26, 2006
- Messages
- 1
- Programming Experience
- 1-3
Hi all,
In .Net framework, Boolean data type took 2 bytes of space in memory.
But, in other languages like c, c++ ... it took only 1 byte.
Can any one tell me why it took 2 bytes instead of 1 byte and tell me what is the default values for true case and false case?
Thxs in advance,
Purushottam.
In .Net framework, Boolean data type took 2 bytes of space in memory.
But, in other languages like c, c++ ... it took only 1 byte.
Can any one tell me why it took 2 bytes instead of 1 byte and tell me what is the default values for true case and false case?
Thxs in advance,
Purushottam.